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 1A8C118C55 for ; Tue, 28 Jul 2015 07:23:48 +0000 (UTC) Received: (qmail 94238 invoked by uid 500); 28 Jul 2015 07:23:48 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 94168 invoked by uid 500); 28 Jul 2015 07:23:48 -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 94159 invoked by uid 99); 28 Jul 2015 07:23:47 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Jul 2015 07:23:47 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id BE0F6DFF94; Tue, 28 Jul 2015 07:23:47 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sergeyb@apache.org To: commits@cxf.apache.org Message-Id: <26ff9f5280ea4fbf8f30056d0a9bb9b7@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: cxf git commit: Logging a stack trace if a RS SAML validator fails to process the assertion Date: Tue, 28 Jul 2015 07:23:47 +0000 (UTC) Repository: cxf Updated Branches: refs/heads/master d649aed45 -> a15cf6003 Logging a stack trace if a RS SAML validator fails to process the assertion Project: http://git-wip-us.apache.org/repos/asf/cxf/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/a15cf600 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/a15cf600 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/a15cf600 Branch: refs/heads/master Commit: a15cf60034e9f93b9279aec296fbd438295238c9 Parents: d649aed Author: Sergey Beryozkin Authored: Tue Jul 28 10:23:31 2015 +0300 Committer: Sergey Beryozkin Committed: Tue Jul 28 10:23:31 2015 +0300 ---------------------------------------------------------------------- .../org/apache/cxf/rs/security/saml/AbstractSamlInHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf/blob/a15cf600/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/AbstractSamlInHandler.java ---------------------------------------------------------------------- diff --git a/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/AbstractSamlInHandler.java b/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/AbstractSamlInHandler.java index 02e3835..9af0957 100644 --- a/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/AbstractSamlInHandler.java +++ b/rt/rs/security/xml/src/main/java/org/apache/cxf/rs/security/saml/AbstractSamlInHandler.java @@ -259,7 +259,7 @@ public abstract class AbstractSamlInHandler implements ContainerRequestFilter { protected void throwFault(String error, Exception ex) { // TODO: get bundle resource message once this filter is moved // to rt/rs/security - LOG.warning(error); + LOG.warning(error + ": " + ExceptionUtils.getStackTrace(ex)); Response response = JAXRSUtils.toResponseBuilder(401).entity(error).build(); throw ExceptionUtils.toNotAuthorizedException(null, response); }