cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [03/14] cxf-fediz git commit: Adding OIDC access token revocation service
Date Tue, 08 Nov 2016 14:56:30 GMT
Adding OIDC access token revocation service


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

Branch: refs/heads/1.3.x-fixes
Commit: df70c79026348f69bb3e2f37eb0df818d583f1de
Parents: e88cf09
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Wed Sep 14 12:58:01 2016 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue Nov 8 14:43:12 2016 +0000

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


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/df70c790/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 53bd83f..6091725 100644
--- a/services/oidc/src/main/webapp/WEB-INF/applicationContext.xml
+++ b/services/oidc/src/main/webapp/WEB-INF/applicationContext.xml
@@ -201,6 +201,10 @@
         <property name="grantHandlers" ref="grantHandlers"/>
         <property name="canSupportPublicClients" value="true"/>
     </bean>
+    <!-- Access Token Revocation service -->
+    <bean id="accessTokenRevocationService" class="org.apache.cxf.rs.security.oauth2.services.TokenRevocationService">
+        <property name="dataProvider" ref="oauthProvider"/>
+    </bean>
     <!-- Access Token Introspection service -->
     <bean id="accessTokenIntrospectionService" class="org.apache.cxf.rs.security.oauth2.services.TokenIntrospectionService">
         <property name="dataProvider" ref="oauthProvider"/>
@@ -211,6 +215,7 @@
         <jaxrs:serviceBeans>
             <ref bean="accessTokenService"/>
             <ref bean="accessTokenIntrospectionService"/>
+            <ref bean="accessTokenRevocationService"/>
         </jaxrs:serviceBeans>
         <jaxrs:providers>
            <ref bean="oauthJsonProvider"/>


Mime
View raw message