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:50:14 GMT
Repository: cxf
Updated Branches:
  refs/heads/master b294f202e -> 15504ab90


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

Branch: refs/heads/master
Commit: 15504ab909a3c574514453ca638b1df42bdb68ad
Parents: b294f20
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:49:55 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/15504ab9/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