Class PhonePageChainCustomizer
java.lang.Object
com.irurueta.authserver.authorization.api.web.ott.PhonePageChainCustomizer
- All Implemented Interfaces:
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 Summary
FieldsModifier and TypeFieldDescriptionprivate final MfaAuthorizationManagerApplies the multi-factor policy.static final intOrder of this customizer in the login chain, after the one-time token one (3). -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(org.springframework.security.config.annotation.web.builders.HttpSecurity http) Customizes the login/UI chain.
-
Field Details
-
ORDER
public static final int ORDEROrder of this customizer in the login chain, after the one-time token one (3).- See Also:
-
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:
customizein interfaceLoginChainCustomizer- Parameters:
http- security builder of the chain.
-