Skip to content

Commit

Permalink
Workaround failing nested import for now
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek committed Dec 18, 2024
1 parent eb7d9cc commit 5bd5ccf
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,13 @@ SecurityFilterChain web(HttpSecurity http) throws Exception {
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configurers.AuthorizeHttpRequestsConfigurer;
import org.springframework.security.web.SecurityFilterChain;
@Configuration
public class JdbcSecurityConfiguration {
@Bean
SecurityFilterChain web(HttpSecurity http) throws Exception {
AuthorizeHttpRequestsConfigurer<HttpSecurity>.AuthorizationManagerRequestMatcherRegistry reqs = http.authorizeHttpRequests();
org.springframework.security.config.annotation.web.configurers.AuthorizeHttpRequestsConfigurer.AuthorizationManagerRequestMatcherRegistry reqs = http.authorizeHttpRequests();
reqs.antMatchers("/ll").authenticated();
return http.build();
}
Expand Down

0 comments on commit 5bd5ccf

Please sign in to comment.