- com
- pcbsys
- nirvana
- nAdminAPI
- nSecurityGroup
This class represents a "Security Group" that contains entries for nSubject objects, and other nSecurityGroup objects. More...
Public Member Functions | |
void | add (nSubject member) throws nBaseAdminException |
Add a member to the group. More... | |
boolean | contains (nSubject member) |
Checks whether this nSecurityGroup contains a specific nSubject. More... | |
boolean | contains (String member) |
Checks whether this nSecurityGroup contains a specific member (could be another nSecurityGroup or an nSubject. More... | |
Collection< nSubject > | getMembers () |
Returns the members of this security group as a collection of nSubjects. More... | |
fAclGroup | getSubject () |
Returns the fACLGroup representation of the Security Group. More... | |
nSubject | lookup (nSubject member) |
Locate the nSubject within this nSecurityGroup or it's member nSecurityGroup objects. More... | |
nSecurityGroup (String name) | |
Construct the nSecurityGroup with it's name. More... | |
nSecurityGroup (String name, nSubject[] members) | |
Construct the nSecurityGroup with a name and members. More... | |
nSecurityGroup (fAclGroup group) | |
Constructor for nSecurity Group taking an fACLGroup representation of a group. More... | |
void | remove (nSubject member) throws nBaseAdminException |
Remove a member from the group. More... | |
Public Member Functions inherited from com.pcbsys.nirvana.client.nSubject | |
String | getHost () |
The host name for this subject. More... | |
String | getName () |
The Name being used by this subject. More... | |
fSubject | getSubject () |
String | getUser () |
The username being used by this subject. More... | |
nSubject (String key) | |
Create a new nSubject using a key of user. More... | |
nSubject (fAclGroup grp) | |
Create a new nSubject using an AclGroup instance. More... | |
nSubject (fSubject sub) | |
Create a new nSubject using another subject instance. More... | |
This class represents a "Security Group" that contains entries for nSubject objects, and other nSecurityGroup objects.
The class can be used in conjunction with the nACLEntry (and any subclass of this object) in order to add nSecurityGroup objects into nACL objects for Nirvana Realm ACLs, Channel / Queue ACLs or Interface Via Lists.
com.pcbsys.nirvana.nAdminAPI.nSecurityGroup.nSecurityGroup | ( | String | name | ) |
Construct the nSecurityGroup with it's name.
name | the name of the group |
com.pcbsys.nirvana.nAdminAPI.nSecurityGroup.nSecurityGroup | ( | String | name, |
nSubject[] | members | ||
) |
Construct the nSecurityGroup with a name and members.
name | the name of the security group |
members | the initial members of the group |
com.pcbsys.nirvana.nAdminAPI.nSecurityGroup.nSecurityGroup | ( | fAclGroup | group | ) |
Constructor for nSecurity Group taking an fACLGroup representation of a group.
group | the fACLGroup to generate this SecurityGroup from. |
void com.pcbsys.nirvana.nAdminAPI.nSecurityGroup.add | ( | nSubject | member | ) | throws nBaseAdminException |
Add a member to the group.
member | the member to add |
boolean com.pcbsys.nirvana.nAdminAPI.nSecurityGroup.contains | ( | nSubject | member | ) |
Checks whether this nSecurityGroup contains a specific nSubject.
member | the member to check within this group and sub groups |
boolean com.pcbsys.nirvana.nAdminAPI.nSecurityGroup.contains | ( | String | member | ) |
Checks whether this nSecurityGroup contains a specific member (could be another nSecurityGroup or an nSubject.
member | the member to check within this group and sub groups |
Collection<nSubject> com.pcbsys.nirvana.nAdminAPI.nSecurityGroup.getMembers | ( | ) |
Returns the members of this security group as a collection of nSubjects.
fAclGroup com.pcbsys.nirvana.nAdminAPI.nSecurityGroup.getSubject | ( | ) |
Returns the fACLGroup representation of the Security Group.
Locate the nSubject within this nSecurityGroup or it's member nSecurityGroup objects.
member | the member being searched for |
void com.pcbsys.nirvana.nAdminAPI.nSecurityGroup.remove | ( | nSubject | member | ) | throws nBaseAdminException |
Remove a member from the group.
member | the member to add |