cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Updating OAuthScopesFilter with few setters
Date Mon, 15 Feb 2016 12:45:58 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 5914f4211 -> cf9d2131b


Updating OAuthScopesFilter with few setters


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

Branch: refs/heads/3.1.x-fixes
Commit: cf9d2131bb78b0c04248454b3ddc5fe5c6387674
Parents: 5914f42
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Feb 15 12:44:49 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Feb 15 12:45:44 2016 +0000

----------------------------------------------------------------------
 .../rs/security/oauth2/filters/OAuthScopesFilter.java   | 12 ++++++++++++
 1 file changed, 12 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/cf9d2131/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/filters/OAuthScopesFilter.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/filters/OAuthScopesFilter.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/filters/OAuthScopesFilter.java
index f26cf78..5d91481 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/filters/OAuthScopesFilter.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/filters/OAuthScopesFilter.java
@@ -145,6 +145,18 @@ public class OAuthScopesFilter implements ContainerRequestFilter {
         }
         throw ExceptionUtils.toForbiddenException(null, null);
     }
+
+    public void setScopesMap(Map<String, List<String>> scopesMap) {
+        this.scopesMap = scopesMap;
+    }
+
+    public void setScopesMatchAllMap(Map<String, Boolean> scopesMatchAllMap) {
+        this.scopesMatchAllMap = scopesMatchAllMap;
+    }
+
+    public void setConfidentialClientMethods(Set<String> confidentialClientMethods)
{
+        this.confidentialClientMethods = confidentialClientMethods;
+    }
     
     
 }


Mime
View raw message