cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject svn commit: r1558013 - in /cxf/branches/2.7.x-fixes: ./ rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/security/KerberosAuthenticationFilter.java
Date Tue, 14 Jan 2014 11:07:19 GMT
Author: sergeyb
Date: Tue Jan 14 11:07:19 2014
New Revision: 1558013

URL: http://svn.apache.org/r1558013
Log:
Merged revisions 1558011 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/trunk

........
  r1558011 | sergeyb | 2014-01-14 11:04:23 +0000 (Tue, 14 Jan 2014) | 1 line
  
  Minor update to Kerberos filter
........

Modified:
    cxf/branches/2.7.x-fixes/   (props changed)
    cxf/branches/2.7.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/security/KerberosAuthenticationFilter.java

Propchange: cxf/branches/2.7.x-fixes/
------------------------------------------------------------------------------
  Merged /cxf/trunk:r1558011

Propchange: cxf/branches/2.7.x-fixes/
------------------------------------------------------------------------------
Binary property 'svnmerge-integrated' - no diff available.

Modified: cxf/branches/2.7.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/security/KerberosAuthenticationFilter.java
URL: http://svn.apache.org/viewvc/cxf/branches/2.7.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/security/KerberosAuthenticationFilter.java?rev=1558013&r1=1558012&r2=1558013&view=diff
==============================================================================
--- cxf/branches/2.7.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/security/KerberosAuthenticationFilter.java
(original)
+++ cxf/branches/2.7.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/security/KerberosAuthenticationFilter.java
Tue Jan 14 11:07:19 2014
@@ -113,14 +113,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);
         }
         
         return null;



Mime
View raw message