cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1558011 - /cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/security/KerberosAuthenticationFilter.java
Date Tue, 14 Jan 2014 11:04:23 GMT
Author: sergeyb
Date: Tue Jan 14 11:04:23 2014
New Revision: 1558011

URL: http://svn.apache.org/r1558011
Log:
Minor update to Kerberos filter

Modified:
    cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/security/KerberosAuthenticationFilter.java

Modified: cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/security/KerberosAuthenticationFilter.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/security/KerberosAuthenticationFilter.java?rev=1558011&r1=1558010&r2=1558011&view=diff
==============================================================================
--- cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/security/KerberosAuthenticationFilter.java
(original)
+++ cxf/trunk/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/security/KerberosAuthenticationFilter.java
Tue Jan 14 11:04:23 2014
@@ -115,14 +115,14 @@ public class KerberosAuthenticationFilte
                                             gssContext));
             
         } catch (LoginException e) {
-            LOG.fine("Unsuccessful JAAS login for the service principal");
-            throw new NotAuthorizedException(getFaultResponse());
+            LOG.fine("Unsuccessful JAAS login for the service principal: " + e.getMessage());
+            throw new NotAuthorizedException(getFaultResponse(), e);
         } catch (GSSException e) {
             LOG.fine("GSS API exception: " + e.getMessage());
-            throw new NotAuthorizedException(getFaultResponse());
+            throw new NotAuthorizedException(getFaultResponse(), e);
         } catch (PrivilegedActionException e) {
             LOG.fine("PrivilegedActionException: " + e.getMessage());
-            throw new NotAuthorizedException(getFaultResponse());
+            throw new NotAuthorizedException(getFaultResponse(), e);
         }
     }
 



Mime
View raw message