public class ADFUserPrincipal
extends java.lang.Object
implements java.security.Principal
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_name |
Constructor and Description |
---|
ADFUserPrincipal() |
ADFUserPrincipal(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object another)
Compares this principal to the specified object.
|
java.lang.String |
getName()
Returns the name of this principal.
|
int |
hashCode() |
java.lang.String |
toString()
Returns a string representation of this principal.
|
public ADFUserPrincipal()
public ADFUserPrincipal(java.lang.String name)
public java.lang.String toString()
toString
in interface java.security.Principal
toString
in class java.lang.Object
public java.lang.String getName()
getName
in interface java.security.Principal
public boolean equals(java.lang.Object another)
equals
in interface java.security.Principal
equals
in class java.lang.Object
another
- principal to compare with.public int hashCode()
hashCode
in interface java.security.Principal
hashCode
in class java.lang.Object