Class PasswordFactor
java.lang.Object
com.irurueta.authserver.authorization.api.web.mfa.PasswordFactor
Registers the password as an authentication factor: a primary one, which needs a second factor to satisfy the
policy.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeclares the password factor, granted by Spring Security asFactorGrantedAuthority.PASSWORD_AUTHORITY.
-
Field Details
-
ID
Identifier of the factor.- See Also:
-
AMR_VALUE
RFC 8176amrvalue of a password.- See Also:
-
-
Constructor Details
-
PasswordFactor
public PasswordFactor()
-
-
Method Details
-
passwordAuthenticationFactor
Declares the password factor, granted by Spring Security asFactorGrantedAuthority.PASSWORD_AUTHORITY.- Returns:
- the factor.
-