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