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/21 18:24:52 UTC
cxf git commit: Fixing a typo in OAuthUtils
Repository: cxf
Updated Branches:
refs/heads/master 83451c004 -> c0d2c83b4
Fixing a typo in OAuthUtils
Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/c0d2c83b
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/c0d2c83b
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/c0d2c83b
Branch: refs/heads/master
Commit: c0d2c83b469215c32138ff29aeee31b11046f0ad
Parents: 83451c0
Author: Sergey Beryozkin <sb...@gmail.com>
Authored: Thu Jan 21 17:24:37 2016 +0000
Committer: Sergey Beryozkin <sb...@gmail.com>
Committed: Thu Jan 21 17:24:37 2016 +0000
----------------------------------------------------------------------
.../java/org/apache/cxf/rs/security/oauth2/utils/OAuthUtils.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cxf/blob/c0d2c83b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/utils/OAuthUtils.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/utils/OAuthUtils.java b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/utils/OAuthUtils.java
index 1857bf3..a7f9dc6 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/utils/OAuthUtils.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/utils/OAuthUtils.java
@@ -200,7 +200,7 @@ public final class OAuthUtils {
List<String> allowedAudiences) {
return StringUtils.isEmpty(providedAudiences)
&& StringUtils.isEmpty(allowedAudiences)
- || allowedAudiences.contains(providedAudiences);
+ || allowedAudiences.containsAll(providedAudiences);
}
public static boolean checkRequestURI(String servletPath, String uri) {