Repository: cxf-fediz Updated Branches: refs/heads/master af2feff06 -> 278dd0967
Initial support for all of OIDC Core flows Project: http://git-wip-us.apache.org/repos/asf/cxf-fediz/repo Commit: http://git-wip-us.apache.org/repos/asf/cxf-fediz/commit/278dd096 Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/278dd096 Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/278dd096 Branch: refs/heads/master Commit: 278dd09676cbe4b333591e170290db4f6693f40d Parents: af2feff Author: Sergey Beryozkin <[email protected]> Authored: Mon Mar 7 18:50:20 2016 +0000 Committer: Sergey Beryozkin <[email protected]> Committed: Mon Mar 7 18:50:20 2016 +0000 ---------------------------------------------------------------------- services/oidc/src/main/webapp/WEB-INF/applicationContext.xml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/278dd096/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 b676c98..8a51037 100644 --- a/services/oidc/src/main/webapp/WEB-INF/applicationContext.xml +++ b/services/oidc/src/main/webapp/WEB-INF/applicationContext.xml @@ -40,6 +40,7 @@ <import resource="data-manager.xml" /> + <!-- Supports OIDC code flow --> <bean id="oidcAuthorizationService" class="org.apache.cxf.rs.security.oidc.idp.OidcAuthorizationCodeService"> <property name="dataProvider" ref="oauthProvider"/> <property name="subjectCreator" ref="subjectCreator"/> @@ -49,16 +50,18 @@ --> <property name="canSupportPublicClients" value="true"/> </bean> - <bean id="oidcImplicitService" class="org.apache.cxf.rs.security.oidc.idp.OidcImplicitService"> + <!-- Supports OIDC implicit and hybrid flows --> + <bean id="oidcHybridService" class="org.apache.cxf.rs.security.oidc.idp.OidcHybridService"> <property name="dataProvider" ref="oauthProvider"/> <property name="subjectCreator" ref="subjectCreator"/> <property name="skipAuthorizationWithOidcScope" value="true"/> <property name="responseFilter" ref="idTokenFilter"/> + <property name="codeService" ref="oidcAuthorizationService"/> </bean> <util:list id="oidcServices"> <ref bean="oidcAuthorizationService"/> - <ref bean="oidcImplicitService"/> + <ref bean="oidcHybridService"/> </util:list> <bean id="authorizationService" class="org.apache.cxf.rs.security.oauth2.services.AuthorizationService">
