cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Fixing a typo
Date Fri, 22 Jan 2016 13:48:04 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 68aa19fad -> 322753ed9


Fixing a typo


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

Branch: refs/heads/master
Commit: 322753ed99fe8227e4f07c0884a43f7391e56ddb
Parents: 68aa19f
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Fri Jan 22 13:47:50 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Fri Jan 22 13:47:50 2016 +0000

----------------------------------------------------------------------
 .../apache/cxf/rs/security/oauth2/filters/OAuthRequestFilter.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/322753ed/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/filters/OAuthRequestFilter.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/filters/OAuthRequestFilter.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/filters/OAuthRequestFilter.java
index 5fb6108..e8478ad 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/filters/OAuthRequestFilter.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/filters/OAuthRequestFilter.java
@@ -106,7 +106,7 @@ public class OAuthRequestFilter extends AbstractAccessTokenValidator
         String validAudience = validateAudiences(accessTokenV.getAudiences());
         
         // Check if token was issued by the supported issuer
-        if (issuer != null && issuer.equals(accessTokenV.getTokenIssuer())) {
+        if (issuer != null && !issuer.equals(accessTokenV.getTokenIssuer())) {
             AuthorizationUtils.throwAuthorizationFailure(supportedSchemes, realm);
         }
         // Find the scopes which match the current request


Mime
View raw message