Session관리를 front office에서 전담하기 위해 authorize 설정 제거
This commit is contained in:
parent
9cd928ccb0
commit
8f0fbdb67f
@ -30,10 +30,7 @@ public class SecurityConfig {
|
|||||||
httpSecurity
|
httpSecurity
|
||||||
.httpBasic(HttpBasicConfigurer::disable)
|
.httpBasic(HttpBasicConfigurer::disable)
|
||||||
.csrf(CsrfConfigurer::disable)
|
.csrf(CsrfConfigurer::disable)
|
||||||
.cors(Customizer.withDefaults())
|
.cors(Customizer.withDefaults());
|
||||||
.authorizeHttpRequests(
|
|
||||||
authorize ->
|
|
||||||
authorize.requestMatchers(WHITELIST).permitAll().anyRequest().authenticated());
|
|
||||||
|
|
||||||
return httpSecurity.build();
|
return httpSecurity.build();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user