cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject [04/14] cxf-fediz git commit: Adding OIDC .well-known configuration endpoint for clients to get jwks_uri and other endpoint addresses dynamically
Date Tue, 08 Nov 2016 14:56:31 GMT
Adding OIDC .well-known configuration endpoint for clients to get jwks_uri and other endpoint
addresses dynamically


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

Branch: refs/heads/1.3.x-fixes
Commit: 236744fd05833333e2b77a2b5b043c54058e75b0
Parents: df70c79
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Wed Sep 14 14:37:44 2016 +0100
Committer: Colm O hEigeartaigh <coheigea@apache.org>
Committed: Tue Nov 8 14:43:18 2016 +0000

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


http://git-wip-us.apache.org/repos/asf/cxf-fediz/blob/236744fd/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 6091725..eea9aa8 100644
--- a/services/oidc/src/main/webapp/WEB-INF/applicationContext.xml
+++ b/services/oidc/src/main/webapp/WEB-INF/applicationContext.xml
@@ -225,6 +225,16 @@
             <entry key="rs.security.signature.key.password.provider" value-ref="keyPasswordProvider"/>
         </jaxrs:properties>
      </jaxrs:server>
-     
+    
+     <!-- .well-known OIDC Configuration Service --> 
+     <bean id="oidcConfigService" class="org.apache.cxf.rs.security.oidc.idp.OidcConfigurationService"/>
+     <jaxrs:server address="/.well-known">
+        <jaxrs:serviceBeans>
+            <ref bean="oidcConfigService"/>
+        </jaxrs:serviceBeans>
+        <jaxrs:properties>
+            <entry key="rs.security.signature.properties" value="rs.security.properties"/>
+        </jaxrs:properties>
+     </jaxrs:server>
 </beans>
 


Mime
View raw message