Skip to content

Commit

Permalink
EnableGlobalAuthentication was added by accident
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanlermitage committed Nov 6, 2023
1 parent 68091c6 commit a27629a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/main/java/manon/app/config/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import org.springframework.core.annotation.Order;
import org.springframework.security.authentication.AuthenticationManager;
import org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration;
import org.springframework.security.config.annotation.authentication.configuration.EnableGlobalAuthentication;
import org.springframework.security.config.annotation.method.configuration.EnableMethodSecurity;
import org.springframework.security.config.annotation.web.builders.HttpSecurity;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
Expand All @@ -35,7 +34,6 @@
// Migrated to Spring Security 5.7: WebSecurityConfigurerAdapter has been deprecated.
// See https://spring.io/blog/2022/02/21/spring-security-without-the-websecurityconfigureradapter for help with migration.
@Configuration
@EnableGlobalAuthentication
@EnableMethodSecurity
@EnableWebSecurity
@Order(HIGHEST_PRECEDENCE)
Expand Down

0 comments on commit a27629a

Please sign in to comment.