ajanta.security.acl
Class AclKey
java.lang.Object
|
+--ajanta.security.acl.AclKey
- All Implemented Interfaces:
- java.io.Serializable
- public class AclKey
- extends java.lang.Object
- implements java.io.Serializable
This class has been constructed to ensure unique key for Acl.
Adding positive and negative flag to Principal seperates
positive and negative AclEntry
- See Also:
- Serialized Form
Constructor Summary |
AclKey(java.security.Principal caller,
boolean isNegativeEntry)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
AclKey
public AclKey(java.security.Principal caller,
boolean isNegativeEntry)
getPrincipal
public java.security.Principal getPrincipal()
getAclEntryType
public java.lang.String getAclEntryType()
equals
public boolean equals(java.lang.Object another)
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object