[java-idp-plugin-oidc-config] branch main updated: JOIDCCONF-13 - Default HTTP client for backend calls should disable redirects by default
Codeberg
noreply at shibboleth.net
Fri Nov 27 16:20:22 UTC 2026
This is an automated email from the git hooks/post-receive script.
codeberg pushed a commit to branch main
in repository java-idp-plugin-oidc-config.
View the commit online:
https://codeberg.org/Shibboleth/java-idp-plugin-oidc-config/commit/e4976885694275f3c3ef580d0afcc9b609bd9734
The following commit(s) were added to refs/heads/main by this push:
new e497688 JOIDCCONF-13 - Default HTTP client for backend calls should disable redirects by default
e497688 is described below
commit e4976885694275f3c3ef580d0afcc9b609bd9734
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Fri Nov 27 18:18:51 2026 +0200
JOIDCCONF-13 - Default HTTP client for backend calls should disable redirects by default
https://shibboleth.atlassian.net/browse/JOIDCCONF-13
Copied the commit done to oidc-common-conf-impl for commons snapshot
- Initial bean definition for the default validation condition
- shibboleth.oidc.DefaultBackChannelUriValidationCondition
- idp.oidc.httpClient.requireHttps
- idp.oidc.httpClient.disallowedRanges covers loopback, 0.0.0.0, link-local, multicast
---
.../src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/oidc-config-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml b/oidc-config-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
index 994f8ca..6646048 100644
--- a/oidc-config-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
+++ b/oidc-config-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
@@ -24,13 +24,19 @@
p:storage-ref="#{'%{idp.oidc.jwk.StorageService:shibboleth.StorageService}'.trim()}"
p:httpClient="#{getObject('shibboleth.oidc.NonBrowser.HttpClient') ?: getObject('shibboleth.oidc.DefaultNonBrowser.HttpClient')}"
p:httpClientSecurityParameters="#{getObject('shibboleth.oidc.NonBrowser.HttpClientSecurityParameters')}"
- p:forcedRefreshCooldown="%{idp.oidc.jwk.RemoteJwkSetCache.forcedRefreshCooldown:PT5S}"/>
+ p:forcedRefreshCooldown="%{idp.oidc.jwk.RemoteJwkSetCache.forcedRefreshCooldown:PT5S}"
+ p:uriValidationCondition="#{getObject('%{idp.oidc.httpClient.RemoteJwkSetCache.uriValidation:shibboleth.oidc.DefaultBackChannelUriValidationCondition}')}"/>
<bean id="shibboleth.oidc.DefaultNonBrowser.HttpClient" parent="shibboleth.InternalHttpClient"
p:disableRedirectHandling="%{idp.oidc.httpClient.disableRedirects:true}"
p:connectionTimeout="%{idp.oidc.httpClient.connectionTimeout:PT10S}"
p:socketTimeout="%{idp.oidc.httpClient.socketTimeout:PT10S}"/>
+ <bean id="shibboleth.oidc.DefaultBackChannelUriValidationCondition"
+ class="net.shibboleth.oidc.security.impl.DefaultBackChannelUriValidationCondition"
+ p:requireHttps="%{idp.oidc.httpClient.requireHttps:true}"
+ p:disallowedRanges="%{idp.oidc.httpClient.disallowedRanges:127.0.0.0/8,::1/128,0.0.0.0/8,::/128,169.254.0.0/16,fe80::/10,224.0.0.0/4,ff00::/8,::/96}" />
+
<bean class="net.shibboleth.idp.spring.DeprecatedPropertyBean">
<property name="deprecatedProperties">
<map>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list