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 StringSerialized form of nameIdenitifier .private NameIdentifierThe NameIdentifier. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates and returns a copy of this object.booleangetName()Get theNameIdentifier.inthashCode()
-
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:
clonein interfaceCloneablePrincipal- Overrides:
clonein classObject- Returns:
- a clone of this instance.
- Throws:
CloneNotSupportedException- if the instance cannot be cloned.- See Also:
-