[FO] 세션 만료시 로그인 페이지로 이동 추가
This commit is contained in:
@@ -101,7 +101,9 @@ public class FrontSecurityConfig {
|
|||||||
.clearAuthentication(true)
|
.clearAuthentication(true)
|
||||||
.logoutRequestMatcher(new AntPathRequestMatcher("/logout")))
|
.logoutRequestMatcher(new AntPathRequestMatcher("/logout")))
|
||||||
.sessionManagement(
|
.sessionManagement(
|
||||||
session -> session.maximumSessions(maxSessionNum).maxSessionsPreventsLogin(false))
|
session -> session.maximumSessions(maxSessionNum).maxSessionsPreventsLogin(false).expiredUrl("/login"))
|
||||||
|
.sessionManagement(
|
||||||
|
session -> session.invalidSessionUrl("/login"))
|
||||||
.oauth2Login(
|
.oauth2Login(
|
||||||
config ->
|
config ->
|
||||||
config
|
config
|
||||||
|
|||||||
Reference in New Issue
Block a user