You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ol...@apache.org on 2018/05/04 18:27:58 UTC

[ambari] branch trunk updated: AMBARI-23097. ADDENDUM - Fix Log message for JWT authentication.

This is an automated email from the ASF dual-hosted git repository.

oleewere pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new fcc41f6  AMBARI-23097. ADDENDUM - Fix Log message for JWT authentication.
fcc41f6 is described below

commit fcc41f685e7f1ee7aae31e31208e222eaf75bcd0
Author: Oliver Szabo <ol...@gmail.com>
AuthorDate: Fri May 4 20:25:46 2018 +0200

    AMBARI-23097. ADDENDUM - Fix Log message for JWT authentication.
---
 .../java/org/apache/ambari/logsearch/auth/filter/AbstractJWTFilter.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ambari-logsearch/ambari-logsearch-server/src/main/java/org/apache/ambari/logsearch/auth/filter/AbstractJWTFilter.java b/ambari-logsearch/ambari-logsearch-server/src/main/java/org/apache/ambari/logsearch/auth/filter/AbstractJWTFilter.java
index 81b0ffb..dc65146 100644
--- a/ambari-logsearch/ambari-logsearch-server/src/main/java/org/apache/ambari/logsearch/auth/filter/AbstractJWTFilter.java
+++ b/ambari-logsearch/ambari-logsearch-server/src/main/java/org/apache/ambari/logsearch/auth/filter/AbstractJWTFilter.java
@@ -99,7 +99,7 @@ public abstract class AbstractJWTFilter extends AbstractAuthenticationProcessing
       return authentication;
     } catch (ExpiredJwtException | MalformedJwtException | SignatureException | IllegalArgumentException e) {
       LOG.info("URL = " + request.getRequestURL());
-      LOG.warn("Error during JWT authentication: ", e.getMessage());
+      LOG.warn("Error during JWT authentication: {}", e.getMessage());
       throw new BadCredentialsException(e.getMessage(), e);
     }
   }

-- 
To stop receiving notification emails like this one, please contact
oleewere@apache.org.