public class RpcAuthenticationPostHandler extends Object implements org.springframework.security.web.authentication.AuthenticationSuccessHandler, org.springframework.security.web.authentication.AuthenticationFailureHandler
| Constructor and Description |
|---|
RpcAuthenticationPostHandler(org.springframework.data.redis.core.StringRedisTemplate stringRedisTemplate) |
| Modifier and Type | Method and Description |
|---|---|
void |
onAuthenticationFailure(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException exception) |
void |
onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication) |
public RpcAuthenticationPostHandler(org.springframework.data.redis.core.StringRedisTemplate stringRedisTemplate)
public void onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.Authentication authentication)
throws IOException
onAuthenticationSuccess in interface org.springframework.security.web.authentication.AuthenticationSuccessHandlerIOExceptionpublic void onAuthenticationFailure(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
org.springframework.security.core.AuthenticationException exception)
throws IOException
onAuthenticationFailure in interface org.springframework.security.web.authentication.AuthenticationFailureHandlerIOExceptionCopyright © 2020. All rights reserved.