public class XDBPrincipal
extends java.lang.Object
implements java.security.Principal
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compares the given object with this object.
|
java.lang.String |
getName()
Return the user name.
|
int |
hashCode()
Return the hash value of the user name.
|
java.lang.String |
toString()
Return the string representation.
|
public final boolean equals(java.lang.Object o)
equals
in interface java.security.Principal
equals
in class java.lang.Object
o
- the given objectpublic final java.lang.String getName()
getName
in interface java.security.Principal
public final java.lang.String toString()
toString
in interface java.security.Principal
toString
in class java.lang.Object
public final int hashCode()
hashCode
in interface java.security.Principal
hashCode
in class java.lang.Object