com.pcbsys.nirvana.nAdminAPI.nServiceACLEntry Class Reference

Allows the ability to programmatically allow or deny access to a service. More...

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

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...
 
BitSet getBitset ()
 Get the bitset containing ACL permissions for this subject. 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 isGroup ()
 Returns true if subject of this ACL entry is a group. 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...
 
 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 (fAclGroup grp, BitSet bs)
 Creates a new nACLEntry with the given ACL Group. More...
 
 nACLEntry (nSecurityGroup grp, BitSet bs)
 Creates a new nACLEntry with the given Security Group. 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. More...
 
void setList (boolean val)
 Changes the current setting for this user to allow/disallow ACL listing. More...
 
void setModify (boolean val)
 Changes the current setting for this subject to allow/disallow modifing ACL. More...
 

Detailed Description

Allows the ability to programmatically allow or deny access to a service.

See Also
nACLEntry

Constructor & Destructor Documentation

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.

Parameters
nameName for the subject
hostHost name for the subject
Exceptions
nAdminIllegalArgumentExceptionif an invalid or null argument is passed
See Also
nACLEntry
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.

Parameters
subjectThe entire user
Exceptions
nAdminIllegalArgumentExceptionif an invalid or null argument is passed
See Also
nACLEntry
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.

Parameters
subjectnSecurityGroup
Exceptions
nAdminIllegalArgumentExceptionif an invalid or null argument is passed
See Also
nACLEntry
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.

Parameters
subjectThe entire user
copyAn nACLEntry to copy the current permissions from
Exceptions
nAdminIllegalArgumentExceptionif an invalid or null argument is passed
See Also
nACLEntry
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.

Parameters
subjectin nSecurityGroup form
copyAn nACLEntry to copy the current permissions from
Exceptions
nAdminIllegalArgumentExceptionif an invalid or null argument is passed
See Also
nACLEntry

Member Function Documentation

boolean com.pcbsys.nirvana.nAdminAPI.nServiceACLEntry.canConnect ( )

Can the subject connect to the service.

Returns
current state
nServiceACLEntry com.pcbsys.nirvana.nAdminAPI.nServiceACLEntry.clone ( )

Returns a clone of the nServiceACLEntry.

Returns
a clone of the current object
void com.pcbsys.nirvana.nAdminAPI.nServiceACLEntry.setConnect ( boolean  val)

Allow or deny the subject to connect to the service.

Parameters
valboolean value