cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf-fediz git commit: Wiring OidcImplicitService with 'id_token token' response type supported for now
Date Thu, 04 Feb 2016 17:40:08 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/master 48f12d233 -> 9a8fcccb1


Wiring OidcImplicitService with 'id_token token' response type supported for now


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

Branch: refs/heads/master
Commit: 9a8fcccb17a1e3815a381895a2d117d379158173
Parents: 48f12d2
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Thu Feb 4 17:39:51 2016 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Thu Feb 4 17:39:51 2016 +0000

----------------------------------------------------------------------
 .../oidc/src/main/webapp/WEB-INF/applicationContext.xml   | 10 ++++++++++
 1 file changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/9a8fcccb/services/oidc/src/main/webapp/WEB-INF/applicationContext.xml
----------------------------------------------------------------------
diff --git a/services/oidc/src/main/webapp/WEB-INF/applicationContext.xml b/services/oidc/src/main/webapp/WEB-INF/applicationContext.xml
index 040500b..9d26cd3 100644
--- a/services/oidc/src/main/webapp/WEB-INF/applicationContext.xml
+++ b/services/oidc/src/main/webapp/WEB-INF/applicationContext.xml
@@ -45,13 +45,23 @@
          -->
          <property name="canSupportPublicClients" value="true"/>
     </bean>
+    <bean id="oidcImplicitService" class="org.apache.cxf.rs.security.oidc.idp.OidcImplicitService">
+         <property name="dataProvider" ref="oauthProvider"/>
+         <property name="skipAuthorizationWithOidcScope" value="true"/>
+         <property name="responseFilter" ref="idTokenFilter"/>
+    </bean>
     <jaxrs:server address="/idp">
         <jaxrs:serviceBeans>
            <ref bean="oidcAuthorizationService"/>
+           <ref bean="oidcImplicitService"/>
         </jaxrs:serviceBeans>
         <jaxrs:providers>
             <ref bean="viewProvider"/>
         </jaxrs:providers>
+        <jaxrs:properties>
+            <entry key="rs.security.signature.properties" value="rs.security.properties"/>
+            <entry key="rs.security.signature.key.password.provider" value-ref="keyPasswordProvider"/>
+        </jaxrs:properties>
     </jaxrs:server>
     
     <!-- 


Mime
View raw message