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: Adding a comment
Date Mon, 25 Jan 2016 14:28:01 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/master 82aba444a -> 77ae60143


Adding a comment


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

Branch: refs/heads/master
Commit: 77ae6014395ad2ff766aab29b0fe36e7c4416009
Parents: 82aba44
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Jan 25 14:27:48 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Jan 25 14:27:48 2016 +0000

----------------------------------------------------------------------
 .../apache/cxf/fediz/service/oidc/ClientRegistrationService.java  | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/77ae6014/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/ClientRegistrationService.java
----------------------------------------------------------------------
diff --git a/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/ClientRegistrationService.java
b/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/ClientRegistrationService.java
index de900ba..351b922 100644
--- a/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/ClientRegistrationService.java
+++ b/services/oidc/src/main/java/org/apache/cxf/fediz/service/oidc/ClientRegistrationService.java
@@ -132,6 +132,9 @@ public class ClientRegistrationService {
     }
     
     protected ClientTokens doGetClientIssuedTokens(Client c) {
+        // Right now the user who is registering the clients 
+        // is the one who is working with them, i.e, client registrations 
+        // are user specific, so passing null is OK
         return new ClientTokens(c, 
                                 dataProvider.getAccessTokens(c, null),
                                 dataProvider.getRefreshTokens(c, null));


Mime
View raw message