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 2016/09/14 13:38:05 UTC
cxf-fediz git commit: Adding OIDC .well-known configuration endpoint
for clients to get jwks_uri and other endpoint addresses dynamically
Repository: cxf-fediz
Updated Branches:
refs/heads/master 1f46e000e -> 150ca5d8e
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/150ca5d8
Tree: http://git-wip-us.apache.org/repos/asf/cxf-fediz/tree/150ca5d8
Diff: http://git-wip-us.apache.org/repos/asf/cxf-fediz/diff/150ca5d8
Branch: refs/heads/master
Commit: 150ca5d8e58f6dbf5c4a7d3291b153298ac3d328
Parents: 1f46e00
Author: Sergey Beryozkin <sb...@gmail.com>
Authored: Wed Sep 14 14:37:44 2016 +0100
Committer: Sergey Beryozkin <sb...@gmail.com>
Committed: Wed Sep 14 14:37:44 2016 +0100
----------------------------------------------------------------------
.../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/150ca5d8/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>