modified allowance

This commit is contained in:
Ubuntu 2025-06-20 01:54:04 +00:00
parent 7e15f30688
commit 2ce3f59022

View File

@ -48,7 +48,7 @@ public class SecurityConfig
.sessionManagement(session -> session.sessionCreationPolicy(SessionCreationPolicy.STATELESS)) .sessionManagement(session -> session.sessionCreationPolicy(SessionCreationPolicy.STATELESS))
.authorizeHttpRequests(auth -> auth .authorizeHttpRequests(auth -> auth
.requestMatchers("/api/auth/**", "/api/member/register", "/api/member/check-duplicate/**", .requestMatchers("/api/auth/**", "/api/member/register", "/api/member/check-duplicate/**",
"/api/member/validate-password", "/swagger-ui/**", "/v3/api-docs/**", "/api/member/validate-password", "/api/images/**","/api/menu/**","/swagger-ui/**", "/v3/api-docs/**",
"/swagger-resources/**", "/webjars/**", "/actuator/**", "/health/**", "/error" "/swagger-resources/**", "/webjars/**", "/actuator/**", "/health/**", "/error"
).permitAll() ).permitAll()
.anyRequest().authenticated() .anyRequest().authenticated()