Package net.shibboleth.idp.authn.duo
Class DuoPrincipal
java.lang.Object
net.shibboleth.idp.authn.duo.DuoPrincipal
- All Implemented Interfaces:
Cloneable
,Principal
,CloneablePrincipal
Principal based on a Duo authentication.
-
Field Details
-
username
The username.
-
-
Constructor Details
-
DuoPrincipal
Constructor.- Parameters:
name
- the username
-
-
Method Details
-
getName
-
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:
-