* Contains the mapping between a subject User and the priviliges they can perform More...
Public Member Functions | |
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
| |
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... | |
Properties | |
virtual string | Name [get] |
* Returns the name of the ACLEntry More... | |
* Contains the mapping between a subject User and the priviliges they can perform
com.pcbsys.nirvana.nAdminAPI.nACLEntry.nACLEntry | ( | string | name, |
string | host | ||
) |
* Creates a new nACLEntry with the subject being name.
There are no
name | Username/Token for the subject |
host | the host they can connect from |
nAdminIllegalArgumentException | if an invalid or null argument is passed |
com.pcbsys.nirvana.nAdminAPI.nACLEntry.nACLEntry | ( | string | subject | ) |
* Creates a new nACLEntry with the string argument of the form name.
There are no
subject | of the form user |
nAdminIllegalArgumentException | if an invalid or null argument is passed |
com.pcbsys.nirvana.nAdminAPI.nACLEntry.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
grp | Security group used to form this ACL entry |
com.pcbsys.nirvana.nAdminAPI.nACLEntry.nACLEntry | ( | nSecurityGroup | grp, |
BitArray | bs | ||
) |
Creates a new nACLEntry with the given Security Group.
The subject will have permissions defined in the input BitArray.
grp | Security group used to form this ACL entry |
bs | BitArray containing permissions for this subject |
com.pcbsys.nirvana.nAdminAPI.nACLEntry.nACLEntry | ( | fAclGroup | grp, |
BitArray | bs | ||
) |
Creates a new nACLEntry with the given ACL Group.
The subject will have permissions defined in the input BitArray.
grp | ACL group used to form this ACL entry |
bs | BitArray containing permissions for this subject |
|
virtual |
* Can this subject list the contents of an ACL
|
virtual |
* Can this subject modify acl entries in a secure object
|
virtual |
* Returns a clone of the nChannelACLEntry
bool com.pcbsys.nirvana.nAdminAPI.nACLEntry.Equals | ( | long | aLong | ) |
* Required as part of the SortedObject interface.
For internal use only
override bool com.pcbsys.nirvana.nAdminAPI.nACLEntry.Equals | ( | object | item | ) |
* Used to compares this Object with another to determine sorting position.
For internal
item | Object to compare |
|
virtual |
Get the bitset containing ACL permissions for this subject
|
virtual |
* Returns the host portion of the subject
|
virtual |
* This method returns the completed subject User
|
virtual |
* Does this csubject have full privileges for the secure object.
This privlege enables the
|
virtual |
Returns true if subject of this ACL entry is a group
|
virtual |
* Required as part of the SortedObject interface.
For internal use only
|
virtual |
* Used to compares this Object with another to determine sorting position
item | Object to compare |
|
virtual |
* Sets the subject to have full privileges for this secure object allowing the subject complete
val | true for full, false otherwise |
|
virtual |
* Changes the current setting for this user to allow/disallow ACL listing
val | boolean specifying the permission status |
|
virtual |
* Changes the current setting for this subject to allow/disallow modifing ACL.
val | boolean specifying the permission status |
|
virtual |
This method is for internal use only
permValue |
|
get |
* Returns the name of the ACLEntry