[java-oidc-common] branch main updated: JCOMOIDC-195 - Inefficient caching behaviour in RemoteJWKSetCache

Codeberg noreply at shibboleth.net
Fri Nov 27 12:21:17 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository java-oidc-common.

View the commit online:
https://codeberg.org/Shibboleth/java-oidc-common/commit/fe9f67269d42cfe0c589b25621820ab0d054e664

The following commit(s) were added to refs/heads/main by this push:
     new fe9f6726 JCOMOIDC-195 - Inefficient caching behaviour in RemoteJWKSetCache
fe9f6726 is described below

commit fe9f67269d42cfe0c589b25621820ab0d054e664
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Fri Nov 27 12:21:09 2026 +0000

    JCOMOIDC-195 - Inefficient caching behaviour in RemoteJWKSetCache
    
     - Add forcedRefresh cooldown property to config.
    
    https://shibboleth.atlassian.net/browse/JCOMOIDC-195
---
 .../src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml      | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/oidc-common-conf-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml b/oidc-common-conf-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
index 5eaf3855..d9edd2fa 100644
--- a/oidc-common-conf-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
+++ b/oidc-common-conf-impl/src/main/resources/META-INF/net.shibboleth.idp/postconfig.xml
@@ -23,7 +23,8 @@
         class="net.shibboleth.oidc.jwk.RemoteJwkSetCache"
         p:storage-ref="#{'%{idp.oidc.jwk.StorageService:shibboleth.StorageService}'.trim()}"
         p:httpClient="#{getObject('shibboleth.oidc.NonBrowser.HttpClient') ?: getObject('shibboleth.InternalHttpClient')}"
-        p:httpClientSecurityParameters="#{getObject('shibboleth.oidc.NonBrowser.HttpClientSecurityParameters')}" />
+        p:httpClientSecurityParameters="#{getObject('shibboleth.oidc.NonBrowser.HttpClientSecurityParameters')}" 
+        p:forcedRefreshCooldown="%{idp.oidc.jwk.RemoteJwkSetCache.forcedRefreshCooldown:PT5S}"/>
 
     <!-- Manager for auto-wired JWKSetDecorators -->
     <bean id="shibboleth.oidc.JWKSetDecoratorManager"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list