|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
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(String user)
Construct a principal from a string user name. |
Method Summary | |
---|---|
boolean |
equals(Object another)
Returns true if the object passed matches the principal represented in this implementation. |
String |
getName()
return the name of the principal. |
int |
hashCode()
return a hashcode for the principal. |
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(String user)
user
- The string form of the principal name.Method Detail |
---|
public boolean equals(Object another)
equals
in interface Principal
equals
in class Object
another
- the Principal to compare with.
public String toString()
toString
in interface Principal
toString
in class Object
public int hashCode()
hashCode
in interface Principal
hashCode
in class Object
public String getName()
getName
in interface Principal
|
Nuxeo ECM Projects 5.4.3-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |