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:09:59 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 64eee11a9 -> 49fb58ac2


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

Branch: refs/heads/master
Commit: 49fb58ac201f46efe6f0584cc9c0c26788ba1e03
Parents: 64eee11
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:09:43 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/49fb58ac/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