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

virtual bool canConnect ()
 Can the subject connect to the service More...
 
 nServiceACLEntry (string name, string host)
 Creates a new nServiceACLEntry for the name supplied. More...
 
 nServiceACLEntry (string subject)
 Creates a new nServiceACLEntry for the name supplied. More...
 
 nServiceACLEntry (string subject, nACLEntry copy)
 Creates a new nServiceACLEntry for the name supplied. More...
 
virtual void setConnect (bool val)
 Allow or deny the subject to connect to the service 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

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

nACLEntry

Constructor & Destructor Documentation

com.pcbsys.nirvana.nAdminAPI.nServiceACLEntry.nServiceACLEntry ( string  name,
string  host 
)

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

nACLEntry

com.pcbsys.nirvana.nAdminAPI.nServiceACLEntry.nServiceACLEntry ( string  subject)

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

nACLEntry

com.pcbsys.nirvana.nAdminAPI.nServiceACLEntry.nServiceACLEntry ( string  subject,
nACLEntry  copy 
)

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

nACLEntry

Member Function Documentation

virtual bool com.pcbsys.nirvana.nAdminAPI.nServiceACLEntry.canConnect ( )
virtual

Can the subject connect to the service

Returns
current state
virtual void com.pcbsys.nirvana.nAdminAPI.nServiceACLEntry.setConnect ( bool  val)
virtual

Allow or deny the subject to connect to the service

Parameters
valboolean value