Class AuthnContextClassRefPrincipal
java.lang.Object
net.shibboleth.idp.saml.authn.principal.AuthnContextClassRefPrincipal
- All Implemented Interfaces:
Cloneable
,Principal
,CloneablePrincipal
Principal based on a SAML AuthnContextClassRef.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.boolean
Returns the value as a SAMLAuthnContextClassRef
.getName()
int
hashCode()
toString()
-
Field Details
-
authnContextClassRef
The class ref.
-
-
Constructor Details
-
AuthnContextClassRefPrincipal
public AuthnContextClassRefPrincipal(@Nonnull @NotEmpty @ParameterName(name="classRef") String classRef) Constructor.- Parameters:
classRef
- the class reference URI
-
-
Method Details
-
getName
-
getAuthnContextClassRef
Returns the value as a SAMLAuthnContextClassRef
.- Returns:
- the principal value in the form of an
AuthnContextClassRef
-
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:
-