Package org.xbricks.heimdall.security
Class XBSimpleUrlAuthenticationSuccessHandler
java.lang.Object
org.xbricks.heimdall.security.XBSimpleUrlAuthenticationSuccessHandler
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationSuccessHandler
@Component("xbAuthenticationSuccessHandler")
public class XBSimpleUrlAuthenticationSuccessHandler
extends Object
implements org.springframework.security.web.authentication.AuthenticationSuccessHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidclearAuthenticationAttributes(jakarta.servlet.http.HttpServletRequest request) protected org.springframework.security.web.RedirectStrategyprotected voidhandle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) voidonAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) voidsetRedirectStrategy(org.springframework.security.web.RedirectStrategy redirectStrategy) 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
-
XBSimpleUrlAuthenticationSuccessHandler
-
-
Method Details
-
onAuthenticationSuccess
public void onAuthenticationSuccess(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws IOException - Specified by:
onAuthenticationSuccessin interfaceorg.springframework.security.web.authentication.AuthenticationSuccessHandler- Throws:
IOException
-
handle
protected void handle(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws IOException - Throws:
IOException
-
clearAuthenticationAttributes
protected void clearAuthenticationAttributes(jakarta.servlet.http.HttpServletRequest request) -
setRedirectStrategy
public void setRedirectStrategy(org.springframework.security.web.RedirectStrategy redirectStrategy) -
getRedirectStrategy
protected org.springframework.security.web.RedirectStrategy getRedirectStrategy()
-