Class AuthFailureHandler

java.lang.Object
org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
de.knightsoftnet.gwtp.spring.server.security.AuthFailureHandler
All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationFailureHandler

@Component public class AuthFailureHandler extends org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
authentication failure handler for gwt applications. based on the work of https://github.com/imrabti/gwtp-spring-security
Author:
Manfred Tremmel
  • Field Summary

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

    logger
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onAuthenticationFailure(jakarta.servlet.http.HttpServletRequest prequest, jakarta.servlet.http.HttpServletResponse presponse, org.springframework.security.core.AuthenticationException pexception)
     

    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 Details

    • AuthFailureHandler

      public AuthFailureHandler()
  • Method Details

    • onAuthenticationFailure

      public void onAuthenticationFailure(jakarta.servlet.http.HttpServletRequest prequest, jakarta.servlet.http.HttpServletResponse presponse, org.springframework.security.core.AuthenticationException pexception) throws IOException, jakarta.servlet.ServletException
      Specified by:
      onAuthenticationFailure in interface org.springframework.security.web.authentication.AuthenticationFailureHandler
      Overrides:
      onAuthenticationFailure in class org.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler
      Throws:
      IOException
      jakarta.servlet.ServletException