public class RestfulAuthenticationSuccessHandler
extends org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler
Constructor and Description |
---|
RestfulAuthenticationSuccessHandler() |
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 RestfulAuthenticationSuccessHandler |
restfulSuccessHandler(cn.home1.oss.lib.webmvc.api.TypeSafeCookie<GenericUser> cookie,
cn.home1.oss.lib.errorhandle.internal.RestfulExceptionHandler exceptionHandler,
cn.home1.oss.lib.webmvc.internal.DefaultHttpEntityMethodProcessor httpEntityMethodProcessor,
cn.home1.oss.lib.webmvc.api.TypeSafeToken<GenericUser> token) |
clearAuthenticationAttributes
determineTargetUrl, getDefaultTargetUrl, getRedirectStrategy, getTargetUrlParameter, handle, isAlwaysUseDefaultTargetUrl, setAlwaysUseDefaultTargetUrl, setDefaultTargetUrl, setRedirectStrategy, setTargetUrlParameter, setUseReferer
public static RestfulAuthenticationSuccessHandler restfulSuccessHandler(cn.home1.oss.lib.webmvc.api.TypeSafeCookie<GenericUser> cookie, cn.home1.oss.lib.errorhandle.internal.RestfulExceptionHandler exceptionHandler, cn.home1.oss.lib.webmvc.internal.DefaultHttpEntityMethodProcessor httpEntityMethodProcessor, cn.home1.oss.lib.webmvc.api.TypeSafeToken<GenericUser> token)
public void onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws IOException, javax.servlet.ServletException
onAuthenticationSuccess
in interface org.springframework.security.web.authentication.AuthenticationSuccessHandler
onAuthenticationSuccess
in class org.springframework.security.web.authentication.SimpleUrlAuthenticationSuccessHandler
IOException
javax.servlet.ServletException
Copyright © 2017. All rights reserved.