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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
clearAuthenticationAttributes
(jakarta.servlet.http.HttpServletRequest request) protected org.springframework.security.web.RedirectStrategy
protected void
handle
(jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) 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
-
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:
onAuthenticationSuccess
in 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()
-