public class DefaultAuthenticationSuccessHandler extends Object implements AuthenticationSuccessHandler
| 构造器和说明 |
|---|
DefaultAuthenticationSuccessHandler() |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpResponseRenderer |
getRenderer() |
void |
onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Authentication authentication)
Called when a user has been successfully authenticated.
|
void |
setRenderer(HttpResponseRenderer renderer) |
public HttpResponseRenderer getRenderer()
public void setRenderer(HttpResponseRenderer renderer)
public void onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
Authentication authentication)
throws IOException,
javax.servlet.ServletException
AuthenticationSuccessHandleronAuthenticationSuccess 在接口中 AuthenticationSuccessHandlerrequest - the request which caused the successful authenticationresponse - the responseauthentication - the Authentication object which was created during
the authentication process.IOExceptionjavax.servlet.ServletExceptionCopyright © 2016. All rights reserved.