Class OIDCSubjectIdentifierPrincipal
- java.lang.Object
-
- net.shibboleth.idp.plugin.authn.oidc.rp.principal.OIDCSubjectIdentifierPrincipal
-
- All Implemented Interfaces:
Cloneable,Principal,CloneablePrincipal
public class OIDCSubjectIdentifierPrincipal extends Object implements CloneablePrincipal
Principal based on an OIDC 'sub' (subject) identifier.
-
-
Constructor Summary
Constructors Constructor Description OIDCSubjectIdentifierPrincipal(String sub)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OIDCSubjectIdentifierPrincipalclone()booleanequals(Object other)StringgetName()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
OIDCSubjectIdentifierPrincipal
public OIDCSubjectIdentifierPrincipal(@Nonnull @NotEmpty @ParameterName(name="name") String sub)
Constructor.- Parameters:
sub- the subject
-
-
Method Detail
-
hashCode
public int hashCode()
-
equals
public boolean equals(Object other)
-
toString
public String toString()
-
clone
public OIDCSubjectIdentifierPrincipal clone() throws CloneNotSupportedException
- Specified by:
clonein interfaceCloneablePrincipal- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
-