Class OidcLoginFailureHandler
java.lang.Object
com.xebialabs.xlrelease.auth.oidc.web.handlers.OidcLoginFailureHandler
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationFailureHandler
public class OidcLoginFailureHandler
extends Object
implements org.springframework.security.web.authentication.AuthenticationFailureHandler
This failure handler is added for backward compatibility to redirect user to IdP Login page after logout
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonAuthenticationFailure(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception)
-
Constructor Details
-
OidcLoginFailureHandler
public OidcLoginFailureHandler()
-
-
Method Details
-
onAuthenticationFailure
public void onAuthenticationFailure(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException exception) throws IOException, jakarta.servlet.ServletException - Specified by:
onAuthenticationFailurein interfaceorg.springframework.security.web.authentication.AuthenticationFailureHandler- Throws:
IOExceptionjakarta.servlet.ServletException
-