@Service(value="customLoginSuccessHandler")
public class CustomLoginSuccessHandler
extends org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler
| Modifier and Type | Field and Description |
|---|---|
static String |
URL_BEFORE_ATTR |
| Constructor and Description |
|---|
CustomLoginSuccessHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication)
This method will redirect to the page that was called.
|
setRequestCacheclearAuthenticationAttributesdetermineTargetUrl, getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseRefererpublic static final String URL_BEFORE_ATTR
public void onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication)
throws javax.servlet.ServletException,
IOException
onAuthenticationSuccess in interface org.springframework.security.web.authentication.AuthenticationSuccessHandleronAuthenticationSuccess in class org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandlerjavax.servlet.ServletExceptionIOExceptionCopyright © 2020 Pivotal Software, Inc.. All rights reserved.