diff options
author | Vitaly Takmazov | 2024-12-02 00:42:59 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2024-12-02 00:43:18 +0300 |
commit | af2a2b796c4d0fccd89d07100a6a6bede1213152 (patch) | |
tree | 3621da73e0f64f256d4f1fdf34bb447864e38ec8 /src/main/java/com | |
parent | fd4324745a3c8c51974426654142ebaf0bc4ed80 (diff) |
Upgrade to Spring Boot 3.4.0
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/juick/config/SecurityConfig.java | 2 |
1 files changed, 2 insertions, 0 deletions
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/**") |