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 <[email protected]>
Authored: Tue Jul 28 10:23:31 2015 +0300
Committer: Sergey Beryozkin <[email protected]>
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);
     }

Reply via email to