Örnek
Şöyle yaparız
@Configuration public class SecurityConfiguration { @Bean SecurityFilterChain securityFilterChain(HttpSecurity httpSecurity) throws Exception { //CUSTOM SECURITY httpSecurity.csrf().disable() ... .and().formLogin() ... return httpSecurity.build(); } }
Hiç yorum yok:
Yorum Gönder