Update security config in samples
This commit updates security configuration in samples to: - use AuthorizationFilter instead of FilterSecurityInterceptor - update session creation policy in REST sample
This commit is contained in:
@@ -51,7 +51,7 @@ public class RememberMeSecurityConfiguration {
|
||||
|
||||
return http
|
||||
.formLogin(Customizer.withDefaults())
|
||||
.authorizeRequests((authorize) -> authorize
|
||||
.authorizeHttpRequests((authorize) -> authorize
|
||||
.anyRequest().authenticated()
|
||||
).build();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user