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:58:20 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes ee41b28ce -> fbc4082be


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

Branch: refs/heads/3.0.x-fixes
Commit: fbc4082be3c44a29464f8f9b6aa3e82d8d7e6c2f
Parents: ee41b28
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:57:04 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/fbc4082b/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