Class AuthnContextDeclRefPrincipal
java.lang.Object
net.shibboleth.idp.saml.authn.principal.AuthnContextDeclRefPrincipal
- All Implemented Interfaces:
Cloneable,Principal,CloneablePrincipal
Principal based on a SAML AuthnContextDeclRef.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates and returns a copy of this object.booleanReturns the value as a SAMLAuthnContextDeclRef.getName()inthashCode()toString()
-
Field Details
-
authnContextDeclRef
The decl ref.
-
-
Constructor Details
-
AuthnContextDeclRefPrincipal
public AuthnContextDeclRefPrincipal(@Nonnull @NotEmpty @ParameterName(name="declRef") String declRef) Constructor.- Parameters:
declRef- the decl ref URI
-
-
Method Details
-
getName
-
getAuthnContextDeclRef
Returns the value as a SAMLAuthnContextDeclRef.- Returns:
- the principal value in the form of an
AuthnContextDeclRef
-
hashCode
public int hashCode() -
equals
-
toString
-
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:
-