java.lang.Object
com.irurueta.authserver.authorization.api.web.mfa.PasswordFactor

@Configuration(proxyBeanMethods=false) public class PasswordFactor extends Object
Registers the password as an authentication factor: a primary one, which needs a second factor to satisfy the policy.
  • Field Details

  • Constructor Details

    • PasswordFactor

      public PasswordFactor()
  • Method Details

    • passwordAuthenticationFactor

      @Bean public AuthenticationFactor passwordAuthenticationFactor()
      Declares the password factor, granted by Spring Security as FactorGrantedAuthority.PASSWORD_AUTHORITY.
      Returns:
      the factor.