public class TemplateAuthenticationSuccessHandler
extends org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler
Constructor and Description |
---|
TemplateAuthenticationSuccessHandler(String defaultTargetUrl) |
Modifier and Type | Method and Description |
---|---|
void |
onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication) |
static TemplateAuthenticationSuccessHandler |
templateSuccessHandler(String defaultTargetUrl) |
setRequestCache
clearAuthenticationAttributes
determineTargetUrl, getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseReferer
public TemplateAuthenticationSuccessHandler(String defaultTargetUrl)
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.AuthenticationSuccessHandler
onAuthenticationSuccess
in class org.springframework.security.web.authentication.SavedRequestAwareAuthenticationSuccessHandler
javax.servlet.ServletException
IOException
public static TemplateAuthenticationSuccessHandler templateSuccessHandler(String defaultTargetUrl)
Copyright © 2017. All rights reserved.