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: Minor update the application context
Date Tue, 02 Aug 2016 10:19:43 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/master da00c7479 -> bed085887


Minor update the application context


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

Branch: refs/heads/master
Commit: bed0858878aff56c8d53a98ae91455876fa8a837
Parents: da00c74
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Tue Aug 2 13:19:27 2016 +0300
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Tue Aug 2 13:19:27 2016 +0300

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


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/bed08588/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 675822c..c893dd4 100644
--- a/services/oidc/src/main/webapp/WEB-INF/applicationContext.xml
+++ b/services/oidc/src/main/webapp/WEB-INF/applicationContext.xml
@@ -181,11 +181,15 @@
     <bean id="refreshTokenHandler" class="org.apache.cxf.rs.security.oauth2.grants.refresh.RefreshTokenGrantHandler">
         <property name="dataProvider" ref="oauthProvider"/>
     </bean>
+    <util:list id="grantHandlers">
+        <ref bean="refreshTokenHandler"/>
+        <!-- Add more custom grant handlers as needed -->
+    </util:list>
     <!-- Access Token service -->
     <bean id="accessTokenService" class="org.apache.cxf.rs.security.oauth2.services.AccessTokenService">
         <property name="dataProvider" ref="oauthProvider"/>
         <property name="responseFilter" ref="idTokenFilter"/>
-        <property name="grantHandler" ref="refreshTokenHandler"/>
+        <property name="grantHandlers" ref="grantHandlers"/>
         <property name="canSupportPublicClients" value="true"/>
     </bean>
     <!-- Access Token Introspection service -->


Mime
View raw message