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:18:09 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 814dafbb8 -> e8719af02


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

Branch: refs/heads/3.1.x-fixes
Commit: e8719af028f014782a282da4c5907ea2252c5095
Parents: 814dafb
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:17:58 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/e8719af0/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