Class PhonePageChainCustomizer

java.lang.Object
com.irurueta.authserver.authorization.api.web.ott.PhonePageChainCustomizer
All Implemented Interfaces:
LoginChainCustomizer

public class PhonePageChainCustomizer extends Object implements LoginChainCustomizer
Keeps the phone page and its form posts behind the multi-factor policy, as the passkeys page is: a session that only presented the password of an account that still has to complete its second factor is sent to the second-factor page instead of being able to change the phone that receives the codes.
  • Field Details

    • ORDER

      public static final int ORDER
      Order of this customizer in the login chain, after the one-time token one (3).
      See Also:
    • authorizationManager

      private final MfaAuthorizationManager authorizationManager
      Applies the multi-factor policy.
  • Constructor Details

    • PhonePageChainCustomizer

      public PhonePageChainCustomizer()
  • Method Details

    • customize

      public void customize(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
      Customizes the login/UI chain.
      Specified by:
      customize in interface LoginChainCustomizer
      Parameters:
      http - security builder of the chain.