improve variable names
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
72e7af7a35
commit
fea42d33eb
@ -38,15 +38,13 @@ public class SecurityConfiguration
|
||||
|
||||
http.csrf(AbstractHttpConfigurer::disable);
|
||||
|
||||
http.authorizeHttpRequests(authorizationManagerRequestMatcherRegistry -> authorizationManagerRequestMatcherRegistry
|
||||
http.authorizeHttpRequests(registry -> registry
|
||||
.requestMatchers("/api/v1/auth/**")
|
||||
.permitAll()
|
||||
.anyRequest()
|
||||
.authenticated());
|
||||
|
||||
http.sessionManagement(httpSecuritySessionManagementConfigurer -> {
|
||||
httpSecuritySessionManagementConfigurer.sessionCreationPolicy(SessionCreationPolicy.STATELESS);
|
||||
});
|
||||
http.sessionManagement(configurer -> configurer.sessionCreationPolicy(SessionCreationPolicy.STATELESS));
|
||||
|
||||
http.authenticationProvider(authenticationProvider)
|
||||
.addFilterBefore(jwtAuthenticationFilter, UsernamePasswordAuthenticationFilter.class);
|
||||
|
Loading…
Reference in New Issue
Block a user