@Component(value="blTokenAuthenticationSuccessHandler") public class TokenAuthenticationSuccessHandler extends Object implements org.springframework.security.web.authentication.AuthenticationSuccessHandler
| Modifier and Type | Field and Description |
|---|---|
protected AuthenticationTokenService |
authenticationTokenService |
protected org.springframework.core.env.Environment |
environment |
| Constructor and Description |
|---|
TokenAuthenticationSuccessHandler(org.springframework.core.env.Environment environment,
AuthenticationTokenService authenticationTokenService) |
| Modifier and Type | Method and Description |
|---|---|
void |
onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication) |
protected final org.springframework.core.env.Environment environment
protected final AuthenticationTokenService authenticationTokenService
public TokenAuthenticationSuccessHandler(org.springframework.core.env.Environment environment,
AuthenticationTokenService authenticationTokenService)
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.AuthenticationSuccessHandlerIOExceptionjavax.servlet.ServletExceptionCopyright © 2020. All rights reserved.