Class NameIDPrincipal
java.lang.Object
net.shibboleth.idp.saml.authn.principal.NameIDPrincipal
- All Implemented Interfaces:
Cloneable
,Principal
,CloneablePrincipal
Principal based on the SAML2
NameID
.-
Field Details
-
nameID
The NameID. -
name
Serialized form of NameID .
-
-
Constructor Details
-
NameIDPrincipal
Constructor.- Parameters:
theNameID
- the NameID which is wrapped.
-
-
Method Details
-
getName
-
getNameID
Get theNameID
.- Returns:
- the nameID
-
hashCode
public int hashCode() -
equals
-
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:
-