File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
backend/src/main/java/io/f1/backend/global/config Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,8 @@ public class SecurityConfig {
3333 private final AdminLoginSuccessHandler adminLoginSuccessHandler ;
3434 private final AdminLoginFailureHandler adminLoginFailureHandler ;
3535
36- @ Value ("${management.endpoints.web.base-path:/actuator}" )
37- private String actuatorBasePath ;
36+ @ Value ("${management.endpoints.web.base-path:/actuator}" )
37+ private String actuatorBasePath ;
3838
3939 @ Bean
4040 public SecurityFilterChain userFilterChain (HttpSecurity http ) throws Exception {
@@ -70,8 +70,8 @@ public SecurityFilterChain userFilterChain(HttpSecurity http) throws Exception {
7070 .hasAnyRole ("USER" , "ADMIN" )
7171 .requestMatchers ("/questions/**" )
7272 .hasAnyRole ("USER" , "ADMIN" )
73- .requestMatchers (actuatorBasePath + "/**" )
74- .hasRole ("PROMETHEUS" )
73+ .requestMatchers (actuatorBasePath + "/**" )
74+ .hasRole ("PROMETHEUS" )
7575 .anyRequest ()
7676 .authenticated ())
7777 .formLogin (
You can’t perform that action at this time.
0 commit comments