From af2a2b796c4d0fccd89d07100a6a6bede1213152 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 2 Dec 2024 00:42:59 +0300 Subject: Upgrade to Spring Boot 3.4.0 --- src/main/java/com/juick/config/SecurityConfig.java | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/java/com') diff --git a/src/main/java/com/juick/config/SecurityConfig.java b/src/main/java/com/juick/config/SecurityConfig.java index a93a4a5ca..ac61f8f69 100644 --- a/src/main/java/com/juick/config/SecurityConfig.java +++ b/src/main/java/com/juick/config/SecurityConfig.java @@ -228,6 +228,7 @@ public class SecurityConfig { } @Bean + @Order(Ordered.HIGHEST_PRECEDENCE + 1) SecurityFilterChain h2ConsoleFilterChain(HttpSecurity http) throws Exception { http.securityMatcher("/h2-console/**") .authorizeHttpRequests(auth -> auth @@ -294,6 +295,7 @@ public class SecurityConfig { } @Bean + @Order(Ordered.HIGHEST_PRECEDENCE + 1) public SecurityFilterChain securityWebFilterChain( HttpSecurity http) throws Exception { return http.securityMatcher("/actuator/**") -- cgit v1.2.3