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