cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Fixing a duplicate state property issue when OidcImplicitService handles an id_token response type
Date Mon, 08 Feb 2016 14:17:10 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 22ce8ff65 -> a6e17b735


Fixing a duplicate state property issue when OidcImplicitService handles an id_token response
type


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

Branch: refs/heads/master
Commit: a6e17b73562bd32bc926445c9c0631f64fdad89b
Parents: 22ce8ff
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Feb 8 14:16:56 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Feb 8 14:16:56 2016 +0000

----------------------------------------------------------------------
 .../org/apache/cxf/rs/security/oidc/idp/OidcImplicitService.java | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/a6e17b73/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/idp/OidcImplicitService.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/idp/OidcImplicitService.java
b/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/idp/OidcImplicitService.java
index 1bbc391..40f29ea4 100644
--- a/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/idp/OidcImplicitService.java
+++ b/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/idp/OidcImplicitService.java
@@ -101,10 +101,6 @@ public class OidcImplicitService extends ImplicitGrantService {
         if (idToken != null) {
             sb.append(OidcUtils.ID_TOKEN).append("=").append(idToken);
         }
-        if (state.getState() != null) {
-            sb.append("&");
-            sb.append(OAuthConstants.STATE).append("=").append(state.getState());   
-        }
         return finalizeResponse(sb, client, state);
     }
     


Mime
View raw message