Class NameIdentifierPrincipal
java.lang.Object
net.shibboleth.idp.saml.authn.principal.NameIdentifierPrincipal
- All Implemented Interfaces:
Cloneable
,Principal
,CloneablePrincipal
Principal based on the SAML2
NameIdentifier
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
Serialized form of nameIdenitifier .private NameIdentifier
The NameIdentifier. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.boolean
getName()
Get theNameIdentifier
.int
hashCode()
-
Field Details
-
nameIdentifier
The NameIdentifier. -
name
Serialized form of nameIdenitifier .
-
-
Constructor Details
-
NameIdentifierPrincipal
public NameIdentifierPrincipal(@Nonnull @ParameterName(name="theNameIdentifier") NameIdentifier theNameIdentifier) Constructor.- Parameters:
theNameIdentifier
- the NameIdentifier which is wrapped.
-
-
Method Details
-
getName
-
getNameIdentifier
Get theNameIdentifier
.- Returns:
- the nameIdentifier
-
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:
-