Class LoginAuthenticationFailureHandler

  • All Implemented Interfaces:
    org.springframework.security.web.authentication.AuthenticationFailureHandler

    public class LoginAuthenticationFailureHandler
    extends org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
    • Field Summary

      • Fields inherited from class org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler

        logger
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected BruteForceAttackCounter getBruteForceAttackCounter()  
      void onAuthenticationFailure​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception)  
      void setBruteForceAttackCounter​(BruteForceAttackCounter bruteForceAttackCounter)  
      • Methods inherited from class org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler

        getRedirectStrategy, isAllowSessionCreation, isUseForward, saveException, setAllowSessionCreation, setDefaultFailureUrl, setRedirectStrategy, setUseForward
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LoginAuthenticationFailureHandler

        public LoginAuthenticationFailureHandler()
    • Method Detail

      • onAuthenticationFailure

        public void onAuthenticationFailure​(javax.servlet.http.HttpServletRequest request,
                                            javax.servlet.http.HttpServletResponse response,
                                            org.springframework.security.core.AuthenticationException exception)
                                     throws java.io.IOException,
                                            javax.servlet.ServletException
        Specified by:
        onAuthenticationFailure in interface org.springframework.security.web.authentication.AuthenticationFailureHandler
        Overrides:
        onAuthenticationFailure in class org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
        Throws:
        java.io.IOException
        javax.servlet.ServletException
      • setBruteForceAttackCounter

        public void setBruteForceAttackCounter​(BruteForceAttackCounter bruteForceAttackCounter)