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: FEDIZ-134: Registering OAuth JSON provider with the login endpoint too to handle OAuthError
Date Mon, 16 Nov 2015 14:08:43 GMT
Repository: cxf-fediz
Updated Branches:
  refs/heads/master 72f32fe4c -> e481b9344


FEDIZ-134: Registering OAuth JSON provider with the login endpoint too to handle OAuthError


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

Branch: refs/heads/master
Commit: e481b93440e69755041d440aac7b09a20aa24ad6
Parents: 72f32fe
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Mon Nov 16 14:08:25 2015 +0000
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Mon Nov 16 14:08:25 2015 +0000

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


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/e481b934/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 2ab43d9..1f89eab 100644
--- a/services/oidc/src/main/webapp/WEB-INF/applicationContext.xml
+++ b/services/oidc/src/main/webapp/WEB-INF/applicationContext.xml
@@ -36,6 +36,7 @@
         </jaxrs:serviceBeans>
         <jaxrs:providers>
             <ref bean="viewProvider"/>
+            <ref bean="oauthJsonService"/>
         </jaxrs:providers>
         <jaxrs:properties>
             <entry key="rs.security.signature.properties" value="rs.security.properties"/>
@@ -80,13 +81,14 @@
         -->
         <property name="blockUnauthorizedRequests" value="false"/> 
     </bean>
+    <bean id="oauthJsonProvider" class="org.apache.cxf.rs.security.oauth2.provider.OAuthJSONProvider"/>
     <jaxrs:server address="/oauth2Token">
         <jaxrs:serviceBeans>
             <ref bean="accessTokenService"/>
             <ref bean="accessTokenValidatorService"/>
         </jaxrs:serviceBeans>
         <jaxrs:providers>
-           <bean id="jsonProvider" class="org.apache.cxf.rs.security.oauth2.provider.OAuthJSONProvider"/>
+           <ref bean="oauthJsonService"/>
         </jaxrs:providers>
      </jaxrs:server>
      


Mime
View raw message