From fd60af022e904932025589bee60d1e9489dbcd75 Mon Sep 17 00:00:00 2001 From: Florian Zimmer Date: Wed, 31 Jan 2024 14:59:37 +0100 Subject: [PATCH] chore: Removed unnecessary success log in case the authentication is resolved successfully. --- .../common/security/logic/ApiKeyAuthenticationProvider.java | 1 - 1 file changed, 1 deletion(-) diff --git a/backend/src/main/java/org/eclipse/tractusx/puris/backend/common/security/logic/ApiKeyAuthenticationProvider.java b/backend/src/main/java/org/eclipse/tractusx/puris/backend/common/security/logic/ApiKeyAuthenticationProvider.java index d0bbf545..94c5aed5 100644 --- a/backend/src/main/java/org/eclipse/tractusx/puris/backend/common/security/logic/ApiKeyAuthenticationProvider.java +++ b/backend/src/main/java/org/eclipse/tractusx/puris/backend/common/security/logic/ApiKeyAuthenticationProvider.java @@ -49,7 +49,6 @@ public Authentication authenticate(Authentication authentication) throws Authent } if (apiKey.equals(headerKey)){ - log.info("Request has valid key."); return new ApiKeyAuthentication(headerKey, true); } throw new BadCredentialsException("API key is wrong.");