Class UsernamePrincipal
java.lang.Object
net.shibboleth.idp.authn.principal.UsernamePrincipal
- All Implemented Interfaces:
Cloneable
,Principal
,CloneablePrincipal
Principal based on a username.
-
Field Details
-
username
The username.
-
-
Constructor Details
-
UsernamePrincipal
Constructor.- Parameters:
user
- the username, can not be null or empty
-
-
Method Details
-
getName
-
hashCode
public int hashCode() -
equals
-
toString
-
clone
Creates and returns a copy of this object.- Specified by:
clone
in interfaceCloneablePrincipal
- Overrides:
clone
in classObject
- Returns:
- a clone of this instance.
- Throws:
CloneNotSupportedException
- if the instance cannot be cloned.- See Also:
-