You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2016/01/25 15:28:01 UTC

cxf-fediz git commit: Adding a comment

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 <sb...@gmail.com>
Authored: Mon Jan 25 14:27:48 2016 +0000
Committer: Sergey Beryozkin <sb...@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));