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-5607] Another minor fix
Date Thu, 25 Jun 2015 16:20:49 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.0.x-fixes 46fa42e21 -> e16cd8f6e


[CXF-5607] Another minor fix


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

Branch: refs/heads/3.0.x-fixes
Commit: e16cd8f6ed6d8f707796c43cfe63cc91e4365fbc
Parents: 46fa42e
Author: Sergey Beryozkin <sberyozkin@talend.com>
Authored: Thu Jun 25 17:16:00 2015 +0100
Committer: Sergey Beryozkin <sberyozkin@talend.com>
Committed: Thu Jun 25 17:20:30 2015 +0100

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


http://git-wip-us.apache.org/repos/asf/cxf/blob/e16cd8f6/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/rp/OidcIdTokenRequestFilter.java
----------------------------------------------------------------------
diff --git a/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/rp/OidcIdTokenRequestFilter.java
b/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/rp/OidcIdTokenRequestFilter.java
index 9b51cb3..26845e0 100644
--- a/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/rp/OidcIdTokenRequestFilter.java
+++ b/rt/rs/security/sso/oidc/src/main/java/org/apache/cxf/rs/security/oidc/rp/OidcIdTokenRequestFilter.java
@@ -29,7 +29,6 @@ import javax.ws.rs.core.Response;
 import org.apache.cxf.jaxrs.impl.MetadataMap;
 import org.apache.cxf.jaxrs.utils.FormUtils;
 import org.apache.cxf.jaxrs.utils.JAXRSUtils;
-import org.apache.cxf.rs.security.oauth2.client.ClientTokenContext;
 import org.apache.cxf.rs.security.oauth2.client.OAuthClientUtils;
 import org.apache.cxf.rs.security.oidc.common.IdToken;
 
@@ -48,7 +47,7 @@ public class OidcIdTokenRequestFilter implements ContainerRequestFilter
{
         }
         
         IdToken idToken = idTokenValidator.getIdToken(idTokenParamValue, consumer.getKey());
-        JAXRSUtils.getCurrentMessage().setContent(ClientTokenContext.class, idToken);
+        JAXRSUtils.getCurrentMessage().setContent(IdToken.class, idToken);
         requestContext.setSecurityContext(new OidcSecurityContext(idToken));
         
     }


Mime
View raw message