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 AuthnContextDecl
The declaration.private String
Serialized form of declaration. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.boolean
Returns the value as a SAMLAuthnContextDecl
.getName()
int
hashCode()
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:
clone
in interfaceCloneablePrincipal
- Overrides:
clone
in classObject
- Returns:
- a clone of this instance.
- Throws:
CloneNotSupportedException
- if the instance cannot be cloned.- See Also:
-