Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE8911049F for ; Tue, 14 Jan 2014 11:07:43 +0000 (UTC) Received: (qmail 89829 invoked by uid 500); 14 Jan 2014 11:07:41 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 89717 invoked by uid 500); 14 Jan 2014 11:07:41 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 89709 invoked by uid 99); 14 Jan 2014 11:07:41 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jan 2014 11:07:41 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 14 Jan 2014 11:07:40 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 1288B23888A6; Tue, 14 Jan 2014 11:07:20 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@cxf.apache.org From: sergeyb@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140114110720.1288B23888A6@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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;