com.pcbsys.nirvana.nAdminAPI.nInterfaceViaEntry Class Reference

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

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

Public Member Functions

 nInterfaceViaEntry (string name, string host)
 Creates a new nInterfaceViaEntry for the name supplied. More...
 
 nInterfaceViaEntry (string subject)
 Creates a new nInterfaceViaEntry for the name supplied. More...
 
 nInterfaceViaEntry (nSecurityGroup grp)
 Creates a new nInterfaceViaEntry for the name supplied. 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...
 
virtual nACLEntry clone ()
 * Returns a clone of the nChannelACLEntry More...
 
bool Equals (long aLong)
 * Required as part of the SortedObject interface. More...
 
override bool Equals (object item)
 * Used to compares this Object with another to determine sorting position. More...
 
virtual BitArray getBitset ()
 Get the bitset containing ACL permissions for this subject More...
 
virtual string getHost ()
 * Returns the host portion of the subject More...
 
virtual string getSubject ()
 * This method returns the completed subject User More...
 
virtual bool hasFullPrivileges ()
 * Does this csubject have full privileges for the secure object. More...
 
virtual bool isGroup ()
 Returns true if subject of this ACL entry is a group More...
 
virtual bool lessThan (long aLong)
 * Required as part of the SortedObject interface. More...
 
virtual bool lessThan (object item)
 * Used to compares this Object with another to determine sorting position More...
 
 nACLEntry (string name, string host)
 * Creates a new nACLEntry with the subject being name. More...
 
 nACLEntry (string subject)
 * Creates a new nACLEntry with the string argument of the form name. More...
 
 nACLEntry (nSecurityGroup grp)
 Creates a new nACLEntry with the given Security Group There are no default permissions set so this subject can perform NO actions on the secured objects More...
 
 nACLEntry (nSecurityGroup grp, BitArray bs)
 Creates a new nACLEntry with the given Security Group. More...
 
 nACLEntry (fAclGroup grp, BitArray bs)
 Creates a new nACLEntry with the given ACL Group. More...
 
virtual void setFullPrivileges (bool val)
 * Sets the subject to have full privileges for this secure object allowing the subject complete 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 modifing ACL. More...
 
virtual void setPermissions (long permValue)
 This method is for internal use only More...
 

Additional Inherited Members

- Properties inherited from com.pcbsys.nirvana.nAdminAPI.nACLEntry
virtual string Name [get]
 * Returns the name of the ACLEntry 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 ( string  name,
string  host 
)

Creates a new nInterfaceViaEntry for the name supplied.

This will cause the server to confirm that when the client with name connects that they connect on the interface specified only.

Parameters
nameName for the subject
hostHost name for the subject
Exceptions
nAdminIllegalArgumentExceptionif an invalid or null argument is passed
com.pcbsys.nirvana.nAdminAPI.nInterfaceViaEntry.nInterfaceViaEntry ( string  subject)

Creates a new nInterfaceViaEntry for the name supplied.

This will cause the server to confirm that when the client with name connects that they connect on the interface specified only.

Parameters
subjectof the form user
Exceptions
nAdminIllegalArgumentExceptionif an invalid or null argument is passed
com.pcbsys.nirvana.nAdminAPI.nInterfaceViaEntry.nInterfaceViaEntry ( nSecurityGroup  grp)

Creates a new nInterfaceViaEntry for the name supplied.

This will cause the server to confirm that when the client with name connects that they connect on the interface specified only.

Parameters
subjectof the form user
Exceptions
nAdminIllegalArgumentExceptionif an invalid or null argument is passed