Package net.shibboleth.idp.authn.duo
Class DuoFactorPrincipal
java.lang.Object
net.shibboleth.idp.authn.duo.DuoFactorPrincipal
- All Implemented Interfaces:
Cloneable,Principal,CloneablePrincipal
Principal based on the Duo authentication factor used for 2FA.
-
Field Details
-
factor
The authentication factor used.
-
-
Constructor Details
-
DuoFactorPrincipal
Constructor.- Parameters:
duoFactor- the second authentication factor used
-
-
Method Details
-
getName
-
hashCode
public int hashCode() -
equals
-
toString
-
clone
- Specified by:
clonein interfaceCloneablePrincipal- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-