james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adup...@apache.org
Subject [1/2] james-project git commit: JAMES-2091 Decrease the log level of authentication errors
Date Thu, 06 Jul 2017 12:14:06 GMT
Repository: james-project
Updated Branches:
  refs/heads/master 1dafd8849 -> 46cd28e1c


JAMES-2091 Decrease the log level of authentication errors


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/9081054b
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/9081054b
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/9081054b

Branch: refs/heads/master
Commit: 9081054bb0dc1d4cb54f05bd301728b48f1491d5
Parents: 9d8d71c
Author: Antoine Duprat <aduprat@linagora.com>
Authored: Wed Jul 5 11:15:11 2017 +0200
Committer: Antoine Duprat <aduprat@linagora.com>
Committed: Wed Jul 5 11:15:11 2017 +0200

----------------------------------------------------------------------
 .../src/main/java/org/apache/james/jmap/AuthenticationFilter.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/9081054b/server/protocols/jmap/src/main/java/org/apache/james/jmap/AuthenticationFilter.java
----------------------------------------------------------------------
diff --git a/server/protocols/jmap/src/main/java/org/apache/james/jmap/AuthenticationFilter.java
b/server/protocols/jmap/src/main/java/org/apache/james/jmap/AuthenticationFilter.java
index 04401f7..6119781 100644
--- a/server/protocols/jmap/src/main/java/org/apache/james/jmap/AuthenticationFilter.java
+++ b/server/protocols/jmap/src/main/java/org/apache/james/jmap/AuthenticationFilter.java
@@ -73,7 +73,7 @@ public class AuthenticationFilter implements Filter {
         try {
             chain.doFilter(authenticate(httpRequest), response);
         } catch (UnauthorizedException | NoValidAuthHeaderException | MailboxSessionCreationException
| JwtException e) {
-            LOGGER.error("Exception occurred during authentication process", e);
+            LOGGER.info("Exception occurred during authentication process", e);
             httpResponse.sendError(HttpServletResponse.SC_UNAUTHORIZED);
         }
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message