Package org.nuxeo.ecm.platform.login
Class PrincipalImpl
java.lang.Object
org.nuxeo.ecm.platform.login.PrincipalImpl
- All Implemented Interfaces:
Principal
This class implements the principal interface.
- Author:
- Satish Dharmaraj
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PrincipalImpl
Construct a principal from a string user name.- Parameters:
user
- The string form of the principal name.
-
-
Method Details
-
equals
Returns true if the object passed matches the principal represented in this implementation. -
toString
Prints a stringified version of the principal. -
hashCode
public int hashCode()return a hashcode for the principal. -
getName
return the name of the principal.
-