mirror of
https://github.com/cna-bootcamp/phonebill.git
synced 2026-06-12 19:49:10 +00:00
user-service SecurityConfig 수정: Actuator endpoints ADMIN 권한 요구 설정 제거하여 Kubernetes probe 체크 정상화
This commit is contained in:
+1
-4
@@ -64,10 +64,7 @@ public class SecurityConfig {
|
||||
|
||||
// Protected endpoints (인증 필요)
|
||||
.requestMatchers("/products/**").authenticated()
|
||||
|
||||
// Actuator endpoints (관리용)
|
||||
.requestMatchers("/actuator/**").hasRole("ADMIN")
|
||||
|
||||
|
||||
// 나머지 모든 요청 인증 필요
|
||||
.anyRequest().authenticated()
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user