Package org.xbricks.heimdall.security
Class XBCustomLoginAuthenticationSuccessHandler
java.lang.Object
org.xbricks.heimdall.security.XBCustomLoginAuthenticationSuccessHandler
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationSuccessHandler
public class XBCustomLoginAuthenticationSuccessHandler
extends Object
implements org.springframework.security.web.authentication.AuthenticationSuccessHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
clearAuthenticationAttributes
(jakarta.servlet.http.HttpServletRequest request) protected org.springframework.security.web.RedirectStrategy
void
onAuthenticationSuccess
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) void
setRedirectStrategy
(org.springframework.security.web.RedirectStrategy redirectStrategy) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
onAuthenticationSuccess
-
Constructor Details
-
XBCustomLoginAuthenticationSuccessHandler
public XBCustomLoginAuthenticationSuccessHandler()
-
-
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:
onAuthenticationSuccess
in interfaceorg.springframework.security.web.authentication.AuthenticationSuccessHandler
- 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()
-