You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2015/11/19 14:42:36 UTC

cxf git commit: One more nonce related update

Repository: cxf
Updated Branches:
  refs/heads/master 4b0ba1a12 -> e954491e7


One more nonce related update


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

Branch: refs/heads/master
Commit: e954491e7065ce2b50e3e0870f2897daba6b1d20
Parents: 4b0ba1a
Author: Sergey Beryozkin <sb...@gmail.com>
Authored: Thu Nov 19 13:42:22 2015 +0000
Committer: Sergey Beryozkin <sb...@gmail.com>
Committed: Thu Nov 19 13:42:22 2015 +0000

----------------------------------------------------------------------
 .../rs/security/oauth2/services/RedirectionBasedGrantService.java   | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/e954491e/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.java b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.java
index 4d96f9a..cc9baba 100644
--- a/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.java
+++ b/rt/rs/security/oauth-parent/oauth2/src/main/java/org/apache/cxf/rs/security/oauth2/services/RedirectionBasedGrantService.java
@@ -248,6 +248,7 @@ public abstract class RedirectionBasedGrantService extends AbstractOAuthService
             state.setAudience(params.getFirst(OAuthConstants.CLIENT_AUDIENCE));
             state.setProposedScope(params.getFirst(OAuthConstants.SCOPE));
             state.setState(params.getFirst(OAuthConstants.STATE));
+            state.setNonce(params.getFirst(OAuthConstants.NONCE));
         }
         return state;
     }