Class NameIDPrincipal
- java.lang.Object
-
- net.shibboleth.idp.saml.authn.principal.NameIDPrincipal
-
- All Implemented Interfaces:
Cloneable,Principal,CloneablePrincipal
public class NameIDPrincipal extends Object implements CloneablePrincipal
Principal based on the SAML2NameID.
-
-
Constructor Summary
Constructors Constructor Description NameIDPrincipal(NameID theNameID)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NameIDPrincipalclone()booleanequals(Object other)StringgetName()NameIDgetNameID()Get theNameID.inthashCode()
-
-
-
Constructor Detail
-
NameIDPrincipal
public NameIDPrincipal(@Nonnull @ParameterName(name="theNameID") NameID theNameID)
Constructor.- Parameters:
theNameID- the NameID which is wrapped.
-
-
Method Detail
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object other)
-
clone
public NameIDPrincipal clone() throws CloneNotSupportedException
- Specified by:
clonein interfaceCloneablePrincipal- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
-