cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject [1/2] cxf git commit: Restoring setClients convinience methdod
Date Thu, 31 Mar 2016 16:52:00 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes db8fca38f -> 239cb5d1a


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

Branch: refs/heads/3.1.x-fixes
Commit: 36d2bf61511d1921a38d065eb474be802f2f949e
Parents: db8fca3
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:44:21 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/36d2bf61/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 a94bcc3..3f3c8a1 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
@@ -398,7 +398,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