You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by se...@apache.org on 2015/11/13 15:11:19 UTC

cxf-fediz git commit: [FEDIZ-134] Supporting public clients

Repository: cxf-fediz
Updated Branches:
  refs/heads/master 799d27485 -> 890e2277b


[FEDIZ-134] Supporting public clients


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

Branch: refs/heads/master
Commit: 890e2277be2e80a0077fb1ce36e5dfb57c8e1e0e
Parents: 799d274
Author: Sergey Beryozkin <sb...@gmail.com>
Authored: Fri Nov 13 14:10:59 2015 +0000
Committer: Sergey Beryozkin <sb...@gmail.com>
Committed: Fri Nov 13 14:10:59 2015 +0000

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


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/890e2277/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 4520c21..2ab43d9 100644
--- a/services/oidc/src/main/webapp/WEB-INF/applicationContext.xml
+++ b/services/oidc/src/main/webapp/WEB-INF/applicationContext.xml
@@ -31,6 +31,7 @@
            <bean id="oidcService" class="org.apache.cxf.rs.security.oidc.idp.OidcAuthorizationCodeService">
              <property name="dataProvider" ref="oauthProvider"/>
              <property name="skipAuthorizationWithOidcScope" value="true"/>
+             <property name="canSupportPublicClients" value="true"/>
            </bean>
         </jaxrs:serviceBeans>
         <jaxrs:providers>
@@ -67,6 +68,7 @@
     <bean id="accessTokenService" class="org.apache.cxf.rs.security.oauth2.services.AccessTokenService">
         <property name="dataProvider" ref="oauthProvider"/>
         <property name="responseFilter" ref="idTokenFilter"/>
+        <property name="canSupportPublicClients" value="true"/>
     </bean>
     <bean id="fedizTokenValidator" class="org.apache.cxf.fediz.service.oidc.FedizAccessTokenValidator">
         <property name="dataProvider" ref="oauthProvider"/>