forked from tom.biard/ScienceQuest
parent
192d07667d
commit
d903bf5d6d
@ -0,0 +1,20 @@
|
||||
package fr.iut.sciencequest.sae;
|
||||
|
||||
/*
|
||||
@Configuration
|
||||
@EnableWebSecurity
|
||||
public class SecurityConfig {
|
||||
|
||||
@Bean
|
||||
public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Exception {
|
||||
http.authorizeHttpRequests(auth -> auth.anyRequest().permitAll());
|
||||
|
||||
return http.build();
|
||||
}
|
||||
|
||||
@Bean
|
||||
public PasswordEncoder encoder() {
|
||||
return new BCryptPasswordEncoder();
|
||||
}
|
||||
|
||||
}*/
|
Loading…
Reference in new issue