cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Minor update to JwtBearerGrantHandler, patch from Jeffrey Samarziya applied, This closes #63
Date Fri, 10 Apr 2015 10:10:57 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes c26c0f711 -> 313c17e13


Minor update to JwtBearerGrantHandler, patch from Jeffrey Samarziya applied, This closes #63


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

Branch: refs/heads/3.0.x-fixes
Commit: 313c17e133956eec888ff5265c8d3c2858999514
Parents: c26c0f7
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Fri Apr 10 11:09:43 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Fri Apr 10 11:10:41 2015 +0100

----------------------------------------------------------------------
 .../cxf/rs/security/oauth2/grants/jwt/JwtBearerGrantHandler.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/313c17e1/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/jwt/JwtBearerGrantHandler.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/jwt/JwtBearerGrantHandler.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/jwt/JwtBearerGrantHandler.java
index 8d52d2e..a421551 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/jwt/JwtBearerGrantHandler.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/jwt/JwtBearerGrantHandler.java
@@ -57,12 +57,12 @@ public class JwtBearerGrantHandler extends AbstractJwtHandler {
         try {
             JwsJwtCompactConsumer jwsReader = getJwsReader(assertion);
             JwtToken jwtToken = jwsReader.getJwtToken();
-            super.validateSignature(jwtToken.getHeaders(),
+            validateSignature(jwtToken.getHeaders(),
                                     jwsReader.getUnsignedEncodedSequence(), 
                                     jwsReader.getDecodedSignature());
             
                    
-            super.validateClaims(client, jwtToken.getClaims());
+            validateClaims(client, jwtToken.getClaims());
             UserSubject grantSubject = new UserSubject(jwtToken.getClaims().getSubject());
             
             return doCreateAccessToken(client, 


Mime
View raw message