cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Logging a stack trace if a RS SAML validator fails to process the assertion
Date Tue, 28 Jul 2015 07:27:04 GMT
Repository: cxf
Updated Branches:
  refs/heads/2.7.x-fixes 12acd46e3 -> c0df6ffe9


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/c0df6ffe
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/c0df6ffe
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/c0df6ffe

Branch: refs/heads/2.7.x-fixes
Commit: c0df6ffe93f9975fa548ea0bc05af89af5c10bee
Parents: 12acd46
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Tue Jul 28 10:23:31 2015 +0300
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Tue Jul 28 10:26:44 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/c0df6ffe/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 a1d108d..a209026 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
@@ -197,7 +197,7 @@ public abstract class AbstractSamlInHandler implements RequestHandler
{
     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);
     }


Mime
View raw message