cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject cxf-fediz git commit: Adding some more logging
Date Mon, 29 Feb 2016 15:32:59 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/master da3964183 -> 2dd2567fe


Adding some more logging


Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/2dd2567f
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/2dd2567f
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/2dd2567f

Branch: refs/heads/master
Commit: 2dd2567fe56b16065619494caad8e335ca45fc42
Parents: da39641
Author: Colm O hEigeartaigh <coheigea@apache.org>
Authored: Mon Feb 29 15:32:51 2016 +0000
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Mon Feb 29 15:32:51 2016 +0000

----------------------------------------------------------------------
 .../service/idp/protocols/TrustedIdpOIDCProtocolHandler.java  | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/2dd2567f/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/protocols/TrustedIdpOIDCProtocolHandler.java
----------------------------------------------------------------------
diff --git a/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/protocols/TrustedIdpOIDCProtocolHandler.java
b/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/protocols/TrustedIdpOIDCProtocolHandler.java
index cbe386e..0a25c54 100644
--- a/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/protocols/TrustedIdpOIDCProtocolHandler.java
+++ b/services/idp/src/main/java/org/apache/cxf/fediz/service/idp/protocols/TrustedIdpOIDCProtocolHandler.java
@@ -258,6 +258,13 @@ public class TrustedIdpOIDCProtocolHandler implements TrustedIdpProtocolHandler
                     }
                 }
                 
+                if (jwt != null && jwt.getJwsHeaders() != null && LOG.isDebugEnabled())
{
+                    LOG.debug("Received JWS Headers:");
+                    for (Map.Entry<String, Object> header : jwt.getJwsHeaders().asMap().entrySet())
{
+                        LOG.debug(header.getKey() + ": " + header.getValue());
+                    }
+                }
+                
                 // Validate the Signature
                 String sigAlgo = getProperty(trustedIdp, SIGNATURE_ALGORITHM);
                 if (sigAlgo == null || sigAlgo.isEmpty()) {


Mime
View raw message