Class AuthenticationMethodPrincipal
- java.lang.Object
-
- net.shibboleth.idp.saml.authn.principal.AuthenticationMethodPrincipal
-
- All Implemented Interfaces:
Cloneable,Principal,CloneablePrincipal
public final class AuthenticationMethodPrincipal extends Object implements CloneablePrincipal
Principal based on a SAML 1.x AuthenticationMethod.
-
-
Field Summary
Fields Modifier and Type Field Description private StringauthnMethodThe method.
-
Constructor Summary
Constructors Constructor Description AuthenticationMethodPrincipal(String method)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthenticationMethodPrincipalclone()Creates and returns a copy of this object.booleanequals(Object other)StringgetName()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
AuthenticationMethodPrincipal
public AuthenticationMethodPrincipal(@Nonnull @NotEmpty @ParameterName(name="method") String method)
Constructor.- Parameters:
method- the method URI
-
-
Method Detail
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object other)
-
toString
public String toString()
-
clone
public AuthenticationMethodPrincipal 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()
-
-