com.xmlserv.security
Class SecurityManager.Role

java.lang.Object
  |
  +--com.xmlserv.security.SecurityManager.Role
Enclosing class:
SecurityManager

public class SecurityManager.Role
extends java.lang.Object

A role is a collection of access rights.


Constructor Summary
protected SecurityManager.Role()
          Create empty role.
 
Method Summary
protected  void addAccessRight(SecurityManager.AccessRight accessright)
          Add an AccessRight object to this role.
 boolean containsAccessRight(SecurityManager.AccessRight accessright)
          Check whether the given AccessRight is already registered in this role object.
protected  void removeAccessRight(SecurityManager.AccessRight accessright)
          Remove an AccessRight object from this role
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityManager.Role

protected SecurityManager.Role()
Create empty role.
Method Detail

addAccessRight

protected void addAccessRight(SecurityManager.AccessRight accessright)
Add an AccessRight object to this role.
Parameters:
accessright - The new SecurityManager.AccessRight object.

removeAccessRight

protected void removeAccessRight(SecurityManager.AccessRight accessright)
Remove an AccessRight object from this role
Parameters:
accessright - The SecurityManager.AccessRight to remove.

containsAccessRight

public boolean containsAccessRight(SecurityManager.AccessRight accessright)
Check whether the given AccessRight is already registered in this role object.
Parameters:
accessright - The SecurityManager.AccessRight to check for.
Returns:
true if already registered, flase otherwise.