Class UserPrincipal
java.lang.Object
com.sun.grid.security.login.UserPrincipal
- All Implemented Interfaces:
Serializable, Principal
Generic principal for a logged in user.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UserPrincipal
Create a UserPrincipal with a username.- Parameters:
name- the username for this user.- Throws:
NullPointerException- if thenameisnull.
-
-
Method Details
-
getName
-
toString
-
equals
Compares the specified Object with thisUserPrincipalfor equality. Returns true if the given object is also aUserPrincipaland the two UserPrincipals have the same username. -
hashCode
-