cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Restoring setClients convinience methdod
Date Thu, 31 Mar 2016 15:43:23 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 76d474cd0 -> 204926e59


Restoring setClients convinience methdod


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

Branch: refs/heads/master
Commit: 204926e5944a3d558e36d328621dfffe262338aa
Parents: 76d474c
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Thu Mar 31 16:43:02 2016 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Thu Mar 31 16:43:02 2016 +0100

----------------------------------------------------------------------
 .../rs/security/oauth2/provider/AbstractOAuthDataProvider.java | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/204926e5/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.java
index 9c3a912..827a0c3 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.java
@@ -393,7 +393,11 @@ public abstract class AbstractOAuthDataProvider implements OAuthDataProvider,
Cl
         }
         return false;
     }
-    
+    public void setClients(List<Client> clients) {    
+        for (Client c : clients) {
+            setClient(c);
+        }
+    }
     
 
 }


Mime
View raw message