-2factor 인증로직
https://barisein.tistory.com/m/554
Spring Boot Security 2Factor 인증 로직
ID/Password 인증이 성공하면, SimpleUrlAuthenticationSuccessHandler를 상속받은 클래스에서 추가 인증 페이지로 이동만약 2Factor 인증 대상이 아니면, 바로 로그인여부를 true로 설정2Factor 인증 대상인 경우, 2
barisein.tistory.com
https://velog.io/@ji-jjang/Spring-Security-apply-two-factor-auth-filter
Spring Security 2단계 인증 적용하기
현재 인증 로직은 위와 같다. 2차 인증 필터를 적용해서 사용자가 Totp인증을 활성화한 경우 로그인 후 Totp 인증을 진행하고, 새로운 IP에서 로그인했을 때는 이메일 추가 인증을 진행하는 기능을
velog.io
'spring-security' 카테고리의 다른 글
token 탈취 대비 (0) | 2024.10.15 |
---|---|
Multiple Authentication Providers in Spring Security (0) | 2024.02.20 |
권한 계층(Role Hierarchy) (0) | 2024.02.05 |
HTTP Strict Transport Security (HSTS) (0) | 2022.08.10 |
WebSecurityConfigurerAdapter 없이 설정 방법 (0) | 2022.08.06 |