시큐리티

Spring/Spring 학습

[Spring Security] CSRF /logout 설정

1. CSRF 토큰 사용할 때 1) 스프링 시큐리티 설정 Java 코드 @Configuration @EnableWebSecurity @EnableGlobalMethodSecurity(prePostEnabled = true) @RequiredArgsConstructor public class SecurityConfig { private final AuthenticationSuccessHandler authenticationSuccessHandler; private final AuthenticationFailureHandler authenticationFailureHandler; @Bean public SecurityFilterChain filterChain(HttpSecurity http) throws E..

HSY_mumu
'시큐리티' 태그의 글 목록