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 -
Method Summary
Modifier and TypeMethodDescriptionvoidonAuthenticationFailure(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
-
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:
onAuthenticationFailurein interfaceorg.springframework.security.web.authentication.AuthenticationFailureHandler- Overrides:
onAuthenticationFailurein classorg.springframework.security.web.authentication.SimpleUrlAuthenticationFailureHandler- Throws:
IOExceptionjakarta.servlet.ServletException
-