Interface LoginChainCustomizer

All Known Implementing Classes:
IdentitiesPageChainCustomizer, LoginHeadersCustomizer, LoginStaticResourcesCustomizer, LogoutChainCustomizer, MfaLoginChainCustomizer, OttChainCustomizer, PasskeyChainCustomizer, PhonePageChainCustomizer, SocialChainCustomizer, TotpChainCustomizer, X509ChainCustomizer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface LoginChainCustomizer
Extension point that lets an authentication method customize the login/UI security filter chain. Every bean of this type is applied to the chain in Order order.

It deliberately does not extend Customizer: Spring Security applies every Customizer<HttpSecurity> bean to every filter chain, not only to the login chain.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    customize(org.springframework.security.config.annotation.web.builders.HttpSecurity http)
    Customizes the login/UI chain.
  • Method Details

    • customize

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