cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Renaming one of oauthprovider setters
Date Tue, 19 Jan 2016 12:31:27 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 4d0c6df1e -> cb5211ec6


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

Branch: refs/heads/3.1.x-fixes
Commit: cb5211ec61d20e91b920b3c60f34b3e50f571c42
Parents: 4d0c6df
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Tue Jan 19 12:28:58 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Tue Jan 19 12:30:46 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/cb5211ec/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 ec607b3..88c34ac 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
@@ -274,7 +274,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);


Mime
View raw message