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)
           
 
Method Summary
 boolean equals(java.lang.Object another)
           
 java.lang.String getAclEntryType()
           
 java.security.Principal getPrincipal()
           
 int hashCode()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AclKey

public AclKey(java.security.Principal caller,
              boolean isNegativeEntry)
Method Detail

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