|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.security.SimplePrincipal org.jboss.security.CallerIdentity
The CallerIdentity is a principal that may have a credential.
Constructor Summary | |
CallerIdentity(String principal,
Object credential)
Construct an unmutable instance of a CallerIdentity |
Method Summary | |
boolean |
equals(Object obj)
Indicates whether some other object is "equal to" this one. |
Object |
getCredential()
|
int |
hashCode()
Returns a hash code value for the object. |
String |
toString()
Returns a string representation of the object. |
Methods inherited from class org.jboss.security.SimplePrincipal |
getName |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CallerIdentity(String principal, Object credential)
Method Detail |
public Object getCredential()
public String toString()
toString
in interface Principal
toString
in class SimplePrincipal
public boolean equals(Object obj)
equals
in interface Principal
equals
in class SimplePrincipal
public int hashCode()
hashCode
in interface Principal
hashCode
in class SimplePrincipal
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |