atg.security
Class Privilege

java.lang.Object
  extended by atg.security.GenericAccessRight
      extended by atg.security.Privilege
All Implemented Interfaces:
AccessRight, java.io.Serializable, java.security.acl.Permission

public class Privilege
extends GenericAccessRight

An access right indicating an access privilege.

See Also:
PrivilegeSecurityPolicy, Serialized Form

Field Summary
static java.lang.String CLASS_VERSION
           
 
Constructor Summary
Privilege()
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Returns true if this access right is the same as another.
 int hashCode()
          All privileges hash to the same value.
 
Methods inherited from class atg.security.GenericAccessRight
fromString, getDescription, getDisplayName, getName, parse, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.acl.Permission
toString
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Constructor Detail

Privilege

public Privilege()
Method Detail

equals

public boolean equals(java.lang.Object o)
Description copied from class: GenericAccessRight
Returns true if this access right is the same as another.

Specified by:
equals in interface AccessRight
Specified by:
equals in interface java.security.acl.Permission
Overrides:
equals in class GenericAccessRight

hashCode

public int hashCode()
All privileges hash to the same value.

Overrides:
hashCode in class GenericAccessRight