Repository: cxf Updated Branches: refs/heads/3.0.x-fixes 6346b963e -> dc0857bb1
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/dc0857bb Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/dc0857bb Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/dc0857bb Branch: refs/heads/3.0.x-fixes Commit: dc0857bb19d1df53cdd9d0474d86b0574a216ed2 Parents: 6346b96 Author: Sergey Beryozkin <[email protected]> Authored: Tue Jul 28 10:23:31 2015 +0300 Committer: Sergey Beryozkin <[email protected]> Committed: Tue Jul 28 10:25:04 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/dc0857bb/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 9d5d257..01169b7 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 @@ -238,7 +238,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); }
