- com
- pcbsys
- nirvana
- nAdminAPI
- nServiceACLEntry
Allows the ability to programmatically allow or deny access to a service. More...
Public Member Functions | |
boolean | canConnect () |
Can the subject connect to the service. More... | |
nServiceACLEntry | clone () |
Returns a clone of the nServiceACLEntry. More... | |
nServiceACLEntry (String name, String host) throws nAdminIllegalArgumentException | |
Creates a new nServiceACLEntry for the name supplied. More... | |
nServiceACLEntry (String subject) throws nAdminIllegalArgumentException | |
Creates a new nServiceACLEntry for the name supplied. More... | |
nServiceACLEntry (nSecurityGroup subject) throws nAdminIllegalArgumentException | |
Creates a new nServiceACLEntry for the name supplied. More... | |
nServiceACLEntry (String subject, nACLEntry copy) throws nAdminIllegalArgumentException | |
Creates a new nServiceACLEntry for the name supplied. More... | |
nServiceACLEntry (nSecurityGroup subject, nACLEntry copy) throws nAdminIllegalArgumentException | |
Creates a new nServiceACLEntry for the name supplied. More... | |
void | setConnect (boolean val) |
Allow or deny the subject to connect to the service. More... | |
Public Member Functions inherited from com.pcbsys.nirvana.nAdminAPI.nACLEntry | |
boolean | canList () |
Can this subject list the contents of an ACL. More... | |
boolean | canModify () |
Can this subject modify acl entries in a secure object. More... | |
nACLEntry | clone () |
Returns a clone of the nChannelACLEntry. More... | |
boolean | equals (long aLong) |
Required as part of the SortedObject interface. More... | |
String | getHost () |
Returns the host portion of the subject. More... | |
String | getName () |
Returns the name of the ACLEntry. More... | |
String | getSubject () |
This method returns the completed subject User. More... | |
boolean | hasFullPrivileges () |
Does this csubject have full privileges for the secure object. More... | |
boolean | isMatch (Object item) |
Used to compares this Object with another to determine sorting position. More... | |
boolean | lessThan (long aLong) |
Required as part of the SortedObject interface. More... | |
boolean | lessThan (Object item) |
Used to compares this Object with another to determine sorting position. More... | |
nACLEntry (String name, String host) throws nAdminIllegalArgumentException | |
Creates a new nACLEntry with the subject being name. More... | |
nACLEntry (String subject) throws nAdminIllegalArgumentException | |
Creates a new nACLEntry with the string argument of the form name. More... | |
void | setFullPrivileges (boolean val) |
Sets the subject to have full privileges for this secure object allowing the subject complete control over the secure object WARNING: Use with great caution. More... | |
void | setList (boolean val) |
Changes the current setting for this user to allow/disallow ACL listing WARNING: Should be used in conjuction with ModifyACL. More... | |
void | setModify (boolean val) |
Changes the current setting for this subject to allow/disallow modifing ACL. More... | |
Allows the ability to programmatically allow or deny access to a service.
com.pcbsys.nirvana.nAdminAPI.nServiceACLEntry.nServiceACLEntry | ( | String | name, |
String | host | ||
) | throws nAdminIllegalArgumentException |
Creates a new nServiceACLEntry for the name supplied.
By default this subject has NO privileges and they must be set.
name | Name for the subject |
host | Host name for the subject |
nAdminIllegalArgumentException | if an invalid or null argument is passed |
com.pcbsys.nirvana.nAdminAPI.nServiceACLEntry.nServiceACLEntry | ( | String | subject | ) | throws nAdminIllegalArgumentException |
Creates a new nServiceACLEntry for the name supplied.
By default this subject has NO privileges and they must be set.
subject | The entire user |
nAdminIllegalArgumentException | if an invalid or null argument is passed |
com.pcbsys.nirvana.nAdminAPI.nServiceACLEntry.nServiceACLEntry | ( | nSecurityGroup | subject | ) | throws nAdminIllegalArgumentException |
Creates a new nServiceACLEntry for the name supplied.
By default this subject has NO privileges and they must be set.
subject | nSecurityGroup |
nAdminIllegalArgumentException | if an invalid or null argument is passed |
com.pcbsys.nirvana.nAdminAPI.nServiceACLEntry.nServiceACLEntry | ( | String | subject, |
nACLEntry | copy | ||
) | throws nAdminIllegalArgumentException |
Creates a new nServiceACLEntry for the name supplied.
By default this subject has NO privileges and they must be set.
subject | The entire user |
copy | An nACLEntry to copy the current permissions from |
nAdminIllegalArgumentException | if an invalid or null argument is passed |
com.pcbsys.nirvana.nAdminAPI.nServiceACLEntry.nServiceACLEntry | ( | nSecurityGroup | subject, |
nACLEntry | copy | ||
) | throws nAdminIllegalArgumentException |
Creates a new nServiceACLEntry for the name supplied.
By default this subject has NO privileges and they must be set.
subject | in nSecurityGroup form |
copy | An nACLEntry to copy the current permissions from |
nAdminIllegalArgumentException | if an invalid or null argument is passed |
boolean com.pcbsys.nirvana.nAdminAPI.nServiceACLEntry.canConnect | ( | ) |
Can the subject connect to the service.
nServiceACLEntry com.pcbsys.nirvana.nAdminAPI.nServiceACLEntry.clone | ( | ) |
Returns a clone of the nServiceACLEntry.
void com.pcbsys.nirvana.nAdminAPI.nServiceACLEntry.setConnect | ( | boolean | val | ) |
Allow or deny the subject to connect to the service.
val | boolean value |