|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.nuxeo.ecm.platform.login.PrincipalImpl
public class PrincipalImpl
This class implements the principal interface.
Constructor Summary | |
---|---|
PrincipalImpl(java.lang.String user)
Construct a principal from a string user name. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object another)
Returns true if the object passed matches the principal represented in this implementation. |
java.lang.String |
getName()
return the name of the principal. |
int |
hashCode()
return a hashcode for the principal. |
java.lang.String |
toString()
Prints a stringified version of the principal. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public PrincipalImpl(java.lang.String user)
user
- The string form of the principal name.Method Detail |
---|
public boolean equals(java.lang.Object another)
equals
in interface java.security.Principal
equals
in class java.lang.Object
another
- the Principal to compare with.
public java.lang.String toString()
toString
in interface java.security.Principal
toString
in class java.lang.Object
public int hashCode()
hashCode
in interface java.security.Principal
hashCode
in class java.lang.Object
public java.lang.String getName()
getName
in interface java.security.Principal
|
Nuxeo Enterprise Platform 5.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |