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/19 13:29:15 UTC

cxf git commit: Renaming one of oauthprovider setters

Repository: cxf
Updated Branches:
  refs/heads/master 7198fd782 -> a494f3f4c


Renaming one of oauthprovider setters


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

Branch: refs/heads/master
Commit: a494f3f4cec6a03c6f98e4f42f6dac33f25ac7da
Parents: 7198fd7
Author: Sergey Beryozkin <sb...@gmail.com>
Authored: Tue Jan 19 12:28:58 2016 +0000
Committer: Sergey Beryozkin <sb...@gmail.com>
Committed: Tue Jan 19 12:28:58 2016 +0000

----------------------------------------------------------------------
 .../cxf/rs/security/oauth2/provider/AbstractOAuthDataProvider.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/a494f3f4/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 6dfda96..ac7a11b 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
@@ -269,7 +269,7 @@ public abstract class AbstractOAuthDataProvider implements OAuthDataProvider, Cl
         this.permissionMap = permissionMap;
     }
     
-    public void setScopes(Map<String, String> scopes) {
+    public void setSupportedScopes(Map<String, String> scopes) {
         for (Map.Entry<String, String> entry : scopes.entrySet()) {
             OAuthPermission permission = new OAuthPermission(entry.getKey(), entry.getValue());
             permissionMap.put(entry.getKey(), permission);