cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cschnei...@apache.org
Subject [1/2] cxf git commit: CXF-6206 Log stack trace
Date Wed, 21 Jan 2015 12:27:22 GMT
Repository: cxf
Updated Branches:
  refs/heads/master c9fc8344c -> 07c6322a5


CXF-6206 Log stack trace


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/bd94b4c8
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/bd94b4c8
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/bd94b4c8

Branch: refs/heads/master
Commit: bd94b4c8778e360d538d5acb3f6a3710af92e6f1
Parents: c9fc834
Author: Christian Schneider <chris@die-schneider.net>
Authored: Wed Jan 21 11:45:27 2015 +0100
Committer: Christian Schneider <chris@die-schneider.net>
Committed: Wed Jan 21 11:45:27 2015 +0100

----------------------------------------------------------------------
 .../org/apache/cxf/interceptor/security/JAASLoginInterceptor.java | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/bd94b4c8/core/src/main/java/org/apache/cxf/interceptor/security/JAASLoginInterceptor.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/cxf/interceptor/security/JAASLoginInterceptor.java
b/core/src/main/java/org/apache/cxf/interceptor/security/JAASLoginInterceptor.java
index 42a4c64..cca88ef 100644
--- a/core/src/main/java/org/apache/cxf/interceptor/security/JAASLoginInterceptor.java
+++ b/core/src/main/java/org/apache/cxf/interceptor/security/JAASLoginInterceptor.java
@@ -21,6 +21,7 @@ package org.apache.cxf.interceptor.security;
 import java.security.PrivilegedAction;
 import java.util.ArrayList;
 import java.util.List;
+import java.util.logging.Level;
 import java.util.logging.Logger;
 
 import javax.security.auth.Subject;
@@ -151,7 +152,7 @@ public class JAASLoginInterceptor extends AbstractPhaseInterceptor<Message>
{
 
         } catch (LoginException ex) {
             String errorMessage = "Authentication failed: " + ex.getMessage();
-            LOG.fine(errorMessage);
+            LOG.log(Level.FINE, errorMessage, ex);
             if (reportFault) {
                 AuthenticationException aex = new AuthenticationException(errorMessage);
                 aex.initCause(ex);


Mime
View raw message