[java-oidc-common] branch main updated: JCOMOIDC-154 - Mechanism for invalidating current metadata cache contents

Codeberg noreply at shibboleth.net
Mon Sep 28 11:33:35 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/ca6ea76db6399c4b377fc57b2d519535eca88ba6

The following commit(s) were added to refs/heads/main by this push:
     new ca6ea76d JCOMOIDC-154 - Mechanism for invalidating current metadata cache contents
ca6ea76d is described below

commit ca6ea76db6399c4b377fc57b2d519535eca88ba6
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Mon Sep 28 12:33:27 2026 +0100

    JCOMOIDC-154 - Mechanism for invalidating current metadata cache
    contents
    
     - Changed the semantics around clearAll returning true and false. True
    now means the operation completed successfully, not that the cache is
    cleared — that can not be guranteed.
    
    https://shibboleth.atlassian.net/browse/JCOMOIDC-154
---
 .../main/java/net/shibboleth/oidc/metadata/cache/MetadataCache.java    | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/oidc-common-metadata-api/src/main/java/net/shibboleth/oidc/metadata/cache/MetadataCache.java b/oidc-common-metadata-api/src/main/java/net/shibboleth/oidc/metadata/cache/MetadataCache.java
index a53ef19b..fb2a3ced 100644
--- a/oidc-common-metadata-api/src/main/java/net/shibboleth/oidc/metadata/cache/MetadataCache.java
+++ b/oidc-common-metadata-api/src/main/java/net/shibboleth/oidc/metadata/cache/MetadataCache.java
@@ -56,7 +56,8 @@ public interface MetadataCache<U> {
      * 
      * <p>The implementing method is required to be thread safe.</p>
      * 
-     * @return true if all entries of the cache were successfully cleared, false otherwise.
+     * @return true if the clear operation completed successfully, false if it failed. Running successfully does not 
+     * necessarily mean all entries have been removed from the cache; that depends on the cache implementation.
      * 
      * @since 3.4.0
      * 

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


More information about the commits mailing list