cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Another minor update to OidcHybridService
Date Mon, 07 Mar 2016 18:10:43 GMT
Repository: cxf
Updated Branches:
  refs/heads/master 84cbf087e -> 75bbe998e


Another minor update to OidcHybridService


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

Branch: refs/heads/master
Commit: 75bbe998e8281db3d49f44f0ad00829752a5f88d
Parents: 84cbf08
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Mar 7 18:10:20 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Mar 7 18:10:20 2016 +0000

----------------------------------------------------------------------
 .../org/apache/cxf/rs/security/oidc/idp/OidcHybridService.java    | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/75bbe998/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/idp/OidcHybridService.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/idp/OidcHybridService.java
b/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/idp/OidcHybridService.java
index 4062019..0ceda9c 100644
--- a/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/idp/OidcHybridService.java
+++ b/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/idp/OidcHybridService.java
@@ -71,8 +71,7 @@ public class OidcHybridService extends OidcImplicitService {
     @Override
     protected boolean canAccessTokenBeReturned(String responseType) {
         return ID_TOKEN_AT_RESPONSE_TYPE.equals(responseType)
-            || CODE_AT_RESPONSE_TYPE.equals(responseType)
-            || CODE_ID_TOKEN_AT_RESPONSE_TYPE.equals(responseType);
+            || OAuthConstants.TOKEN_RESPONSE_TYPE.equals(responseType);
     }
     
     @Override


Mime
View raw message