Class WithoutRedirectLoginSuccessHandler
java.lang.Object
com.xebialabs.deployit.plumbing.authentication.WithoutRedirectLoginSuccessHandler
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationSuccessHandler
public class WithoutRedirectLoginSuccessHandler
extends Object
implements org.springframework.security.web.authentication.AuthenticationSuccessHandler
Used to avoid default redirect on login that is not supported by our acceptance test launcher.
https://github.com/karma-runner/karma/issues/127
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidonAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
onAuthenticationSuccess
-
Constructor Details
-
WithoutRedirectLoginSuccessHandler
public WithoutRedirectLoginSuccessHandler()
-
-
Method Details
-
onAuthenticationSuccess
public void onAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws IOException, jakarta.servlet.ServletException - Specified by:
onAuthenticationSuccessin interfaceorg.springframework.security.web.authentication.AuthenticationSuccessHandler- Throws:
IOExceptionjakarta.servlet.ServletException
-