cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf-fediz git commit: [FEDIZ-134] Minor update
Date Mon, 16 Nov 2015 11:27:44 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/master 7b94dcb76 -> 2fb89f80d


[FEDIZ-134] Minor update


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

Branch: refs/heads/master
Commit: 2fb89f80d9ffa3eb9a665c9c4be6d7e2420014a3
Parents: 7b94dcb
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Nov 16 11:27:31 2015 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Nov 16 11:27:31 2015 +0000

----------------------------------------------------------------------
 .../java/org/apache/cxf/fediz/service/oidc/OAuthDataManager.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/2fb89f80/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/OAuthDataManager.java
----------------------------------------------------------------------
diff --git a/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/OAuthDataManager.java
b/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/OAuthDataManager.java
index 51ff209..8522680 100644
--- a/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/OAuthDataManager.java
+++ b/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/OAuthDataManager.java
@@ -85,7 +85,7 @@ public class OAuthDataManager extends AbstractCodeDataProvider {
         
         if (principal instanceof FedizPrincipal) {
             String joseIdToken = getJoseIdToken((FedizPrincipal)principal, grant.getClient());
-            grant.getSubject().getProperties().put("id_token", joseIdToken);
+            grant.getSubject().getProperties().put(OidcUtils.ID_TOKEN, joseIdToken);
         } else {
             throw new OAuthServiceException("Unsupported principal");
         }


Mime
View raw message