Class ConfigAwareLoginUrlAuthenticationEntryPoint

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean, org.springframework.security.web.AuthenticationEntryPoint

    public class ConfigAwareLoginUrlAuthenticationEntryPoint
    extends org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
    Extension of LoginUrlAuthenticationEntryPoint that uses site config to override properties
    Since:
    3.1.5
    Author:
    joseross
    • Constructor Detail

      • ConfigAwareLoginUrlAuthenticationEntryPoint

        @ConstructorProperties("loginFormUrl")
        public ConfigAwareLoginUrlAuthenticationEntryPoint​(String loginFormUrl)
    • Method Detail

      • determineUrlToUseForThisRequest

        protected String determineUrlToUseForThisRequest​(javax.servlet.http.HttpServletRequest request,
                                                         javax.servlet.http.HttpServletResponse response,
                                                         org.springframework.security.core.AuthenticationException exception)
        Overrides:
        determineUrlToUseForThisRequest in class org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint