cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: [CXF-6828] Fixing an audience typo
Date Thu, 10 Mar 2016 15:56:20 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes c04c68c93 -> 810063b93


[CXF-6828] Fixing an audience typo


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

Branch: refs/heads/3.1.x-fixes
Commit: 810063b93d08a99f49240fa874d50ad30bb022f6
Parents: c04c68c
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Thu Mar 10 16:49:55 2016 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Thu Mar 10 16:51:15 2016 +0100

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/810063b9/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/AbstractGrant.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/AbstractGrant.java
b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/AbstractGrant.java
index 55fe488..dbbaa7f 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/AbstractGrant.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/grants/AbstractGrant.java
@@ -65,7 +65,7 @@ public abstract class AbstractGrant implements AccessTokenGrant {
             map.putSingle(OAuthConstants.SCOPE, scope);
         }
         if (audience != null) {
-            map.putSingle(OAuthConstants.CLIENT_AUDIENCE, scope);
+            map.putSingle(OAuthConstants.CLIENT_AUDIENCE, audience);
         }
         return map;
     }


Mime
View raw message