com::pcbsys::nirvana::nAdminAPI::nInterfaceViaEntry Class Reference

This contains the user parameters which are bound to an Interface. More...

#include <nInterfaceViaEntry.h>

Inheritance diagram for com::pcbsys::nirvana::nAdminAPI::nInterfaceViaEntry:
com::pcbsys::nirvana::nAdminAPI::nACLEntry

Public Member Functions

virtual int getType ()
 Returns the type of this object, for internal use only. More...
 
 nInterfaceViaEntry (const std::string &subject)
 Creates a new nInterfaceViaEntry. More...
 
- Public Member Functions inherited from com::pcbsys::nirvana::nAdminAPI::nACLEntry
virtual bool canList ()
 Can this subject list the contents of an ACL. More...
 
virtual bool canModify ()
 Can this subject modify acl entries in a secure object. More...
 
void copyBitArray (BitArray *pArray)
 Replace the bit array representing the ACL with *pArray. More...
 
BitArray * getBitSet ()
 Creates a new nACLEntry with the subject being name@host. More...
 
virtual const std::string & getHost ()
 Returns the host's name as a string. More...
 
virtual const std::string & getName ()
 Returns the name of the ACLEntry. More...
 
std::string getSubject ()
 This method returns the completed subject User@Host. More...
 
virtual bool hasFullPrivileges ()
 Does this subject have full privileges for the secure object. More...
 
virtual bool lessThan (nACLEntry *pItem)
 Used to compares this Object with another to determine sorting position. More...
 
virtual bool lessThan (longlong aLong)
 Required as part of the SortedObject interface. More...
 
 nACLEntry (const std::string &name, const std::string &host)
 Creates a new nACLEntry with the subject being name@host. More...
 
 nACLEntry (const std::string &subject, BitArray *pBitset=NULL)
 Creates a new nACLEntry with the subject being name@host. More...
 
virtual void setFullPrivileges (bool val)
 Sets the subject to have full privileges for this secure object allowing the subject complete control over the secure object. More...
 
virtual void setList (bool val)
 Changes the current setting for this user to allow/disallow ACL listing. More...
 
virtual void setModify (bool val)
 Changes the current setting for this subject to allow/disallow modifying ACL. More...
 

Detailed Description

This contains the user parameters which are bound to an Interface.

When a client connects the configured interfaces scan the Via list looking for a matching user@*, * and user. If a match is found and the client is not connecting via that interface the connection is disallowed. A client can appear in more than one interface.

Constructor & Destructor Documentation

com::pcbsys::nirvana::nAdminAPI::nInterfaceViaEntry::nInterfaceViaEntry ( const std::string &  subject)

Creates a new nInterfaceViaEntry.

Parameters
subjectthe subject of the entry
*pBitseta BitArray containing the bitset describing the rights of this subject.

Member Function Documentation

virtual int com::pcbsys::nirvana::nAdminAPI::nInterfaceViaEntry::getType ( )
virtual

Returns the type of this object, for internal use only.

Returns
the type of this object