Class AuthenticationContextClassReferencePrincipal
- java.lang.Object
-
- net.shibboleth.oidc.authn.principal.AuthenticationContextClassReferencePrincipal
-
- All Implemented Interfaces:
Cloneable,Principal,net.shibboleth.idp.authn.principal.CloneablePrincipal
public final class AuthenticationContextClassReferencePrincipal extends Object implements net.shibboleth.idp.authn.principal.CloneablePrincipal
Principal based on a OIDC Authentication Context Class Reference.
-
-
Field Summary
Fields Modifier and Type Field Description private StringauthnContextClassReferenceThe class ref.static StringUNSPECIFIEDunspecified auth ctx class.
-
Constructor Summary
Constructors Constructor Description AuthenticationContextClassReferencePrincipal(String classRef)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationContextClassReferencePrincipalclone()booleanequals(Object other)StringgetName()inthashCode()StringtoString()
-
-
-
Field Detail
-
UNSPECIFIED
public static final String UNSPECIFIED
unspecified auth ctx class.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AuthenticationContextClassReferencePrincipal
public AuthenticationContextClassReferencePrincipal(@Nonnull @NotEmpty @ParameterName(name="classRef") String classRef)
Constructor.- Parameters:
classRef- the class reference URI
-
-
Method Detail
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object other)
-
toString
public String toString()
-
clone
public AuthenticationContextClassReferencePrincipal clone() throws CloneNotSupportedException
- Specified by:
clonein interfacenet.shibboleth.idp.authn.principal.CloneablePrincipal- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
-