Class IdentitiesPageChainCustomizer

java.lang.Object
com.irurueta.authserver.authorization.api.web.social.IdentitiesPageChainCustomizer
All Implemented Interfaces:
LoginChainCustomizer

public class IdentitiesPageChainCustomizer extends Object implements LoginChainCustomizer
Keeps the identities page and its link post behind the multi-factor policy, as the passkeys and phone pages are: 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 add a way to sign in to the account.
  • Field Details

    • ORDER

      public static final int ORDER
      Order of this customizer in the login chain, after the X.509 one (6).
      See Also:
    • authorizationManager

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

    • IdentitiesPageChainCustomizer

      public IdentitiesPageChainCustomizer()
  • 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.