org.apache.geronimo.security
Class SubjectId

java.lang.Object
  extended by org.apache.geronimo.security.SubjectId
All Implemented Interfaces:
Serializable

public class SubjectId
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
SubjectId(Long subjectId, byte[] hash)
           
 
Method Summary
 boolean equals(Object obj)
           
 byte[] getHash()
           
 Long getSubjectId()
           
 int hashCode()
          Returns a hashcode for this LoginModuleId.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubjectId

public SubjectId(Long subjectId,
                 byte[] hash)
Method Detail

getSubjectId

public Long getSubjectId()

getHash

public byte[] getHash()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Returns a hashcode for this LoginModuleId.

Overrides:
hashCode in class Object
Returns:
a hashcode for this LoginModuleId.


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.