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:08 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 21ac2b956 -> 8205b55b4


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

Branch: refs/heads/master
Commit: 8205b55b4e206b53a1a754a74828de9fb8eb0967
Parents: 21ac2b9
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:44:49 2016 +0000

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/8205b55b/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