Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CBB32184BA for ; Fri, 22 Jan 2016 13:48:04 +0000 (UTC) Received: (qmail 44429 invoked by uid 500); 22 Jan 2016 13:48:04 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 44361 invoked by uid 500); 22 Jan 2016 13:48:04 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 44352 invoked by uid 99); 22 Jan 2016 13:48:04 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Jan 2016 13:48:04 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 96A05E0098; Fri, 22 Jan 2016 13:48:04 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: sergeyb@apache.org To: commits@cxf.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: cxf git commit: Fixing a typo Date: Fri, 22 Jan 2016 13:48:04 +0000 (UTC) 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 Authored: Fri Jan 22 13:47:50 2016 +0000 Committer: Sergey Beryozkin 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