Class AuthnContextDeclPrincipal
- java.lang.Object
-
- net.shibboleth.idp.saml.authn.principal.AuthnContextDeclPrincipal
-
- All Implemented Interfaces:
Cloneable,Principal,CloneablePrincipal
public final class AuthnContextDeclPrincipal extends Object implements CloneablePrincipal
Principal based on a SAML AuthnContextDecl.
-
-
Field Summary
Fields Modifier and Type Field Description private AuthnContextDeclauthnContextDeclThe declaration.private StringnameSerialized form of declaration.
-
Constructor Summary
Constructors Constructor Description AuthnContextDeclPrincipal(AuthnContextDecl decl)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthnContextDeclPrincipalclone()Creates and returns a copy of this object.booleanequals(Object other)AuthnContextDeclgetAuthnContextDecl()Returns the value as a SAMLAuthnContextDecl.StringgetName()inthashCode()StringtoString()
-
-
-
Field Detail
-
authnContextDecl
@Nonnull private AuthnContextDecl authnContextDecl
The declaration.
-
-
Constructor Detail
-
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 Detail
-
getAuthnContextDecl
@Nonnull public AuthnContextDecl getAuthnContextDecl()
Returns the value as a SAMLAuthnContextDecl.- Returns:
- the principal value in the form of an
AuthnContextDecl
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object other)
-
toString
public String toString()
-
clone
public AuthnContextDeclPrincipal clone() throws CloneNotSupportedException
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:
Object.clone()
-
-