Class AuthnContextDeclPrincipal
java.lang.Object
net.shibboleth.idp.saml.authn.principal.AuthnContextDeclPrincipal
- All Implemented Interfaces:
Cloneable,Principal,CloneablePrincipal
Principal based on a SAML AuthnContextDecl.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AuthnContextDeclThe declaration.private StringSerialized form of declaration. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Creates and returns a copy of this object.booleanReturns the value as a SAMLAuthnContextDecl.getName()inthashCode()toString()
-
Field Details
-
authnContextDecl
The declaration. -
name
Serialized form of declaration.
-
-
Constructor Details
-
AuthnContextDeclPrincipal
public AuthnContextDeclPrincipal(@Nonnull @ParameterName(name="decl") AuthnContextDecl decl) throws MarshallingException Constructor.- Parameters:
decl- the declaration- Throws:
MarshallingException- if an error occurs marshalling the declaration into string form
-
-
Method Details
-
getName
-
getAuthnContextDecl
Returns the value as a SAMLAuthnContextDecl.- Returns:
- the principal value in the form of an
AuthnContextDecl
-
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:
-