Package kr.com.inspect.handler
Class LoginSuccessHandler
- java.lang.Object
-
- kr.com.inspect.handler.LoginSuccessHandler
-
- All Implemented Interfaces:
org.springframework.security.web.authentication.AuthenticationSuccessHandler
@Component("loginSuccessHandler") public class LoginSuccessHandler extends java.lang.Object implements org.springframework.security.web.authentication.AuthenticationSuccessHandler로그인 성공시 처리- Version:
- 1.0, 2020.11.18 클래스 작성(Yeonhee Kim)
- Author:
- Yeonhee Kim, Wooyoung Lee
-
-
Constructor Summary
Constructors Constructor Description LoginSuccessHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonAuthenticationSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication)인증이 성공했을 경우 실행되는 로직
-
-
-
Method Detail
-
onAuthenticationSuccess
public void onAuthenticationSuccess(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.Authentication authentication) throws java.io.IOException, javax.servlet.ServletException인증이 성공했을 경우 실행되는 로직- Specified by:
onAuthenticationSuccessin interfaceorg.springframework.security.web.authentication.AuthenticationSuccessHandler- Parameters:
request- 사용자로부터 들어온 요청response- 서버에서 사용자로 가는 응답authentication- 인증과 관련한 토큰- Throws:
java.io.IOException- 입출력 예외javax.servlet.ServletException- 서블릿 예외
-
-