Commit c51f4406 by Patryk Czarnik

httpBasic

parent ca64fb08
......@@ -21,7 +21,7 @@ public class SecurityConfig {
SecurityFilterChain configHttpSecurity(HttpSecurity httpSecurity) throws Exception {
httpSecurity.authorizeHttpRequests(authz -> authz
.anyRequest().authenticated()
).formLogin(Customizer.withDefaults())
).httpBasic(Customizer.withDefaults())
;
return httpSecurity.build();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment