refactor(security): Change X-Tool-Server-API-Key header to apiKey
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 3m44s
All checks were successful
Deploy to OCIWP / deploy (push) Successful in 3m44s
This commit is contained in:
@@ -39,7 +39,7 @@ public class ApiKeyInterceptor implements HandlerInterceptor {
|
||||
return true;
|
||||
}
|
||||
|
||||
String apiKey = request.getHeader("X-Tool-Server-API-Key");
|
||||
String apiKey = request.getHeader("apiKey");
|
||||
Map<String, String> validApiKeys = securityProperties.getApiKeys();
|
||||
|
||||
// 2. 만약 프로퍼티에 API Key가 하나도 설정되어 있지 않다면 (개발/로컬 환경 등) 인증 없이 통과시킵니다.
|
||||
|
||||
Reference in New Issue
Block a user