[java-plugin-shibd] branch main updated: Remove metadata-driven flag from unverified profile mgmt.

Codeberg noreply at shibboleth.net
Mon Nov 9 19:40:25 UTC 2026


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

codeberg pushed a commit to branch main
in repository java-plugin-shibd.

View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd/commit/821eeb1a63ccd30d8c24d660e7a776ee2b4d386f

The following commit(s) were added to refs/heads/main by this push:
     new 821eeb1  Remove metadata-driven flag from unverified profile mgmt.
821eeb1 is described below

commit 821eeb1a63ccd30d8c24d660e7a776ee2b4d386f
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Mon Nov 9 14:39:28 2026 -0500

    Remove metadata-driven flag from unverified profile mgmt.
---
 .../shibboleth/sp/BasicProtocolSupportService.java | 25 ++--------------------
 .../net/shibboleth/sp/ProtocolSupportService.java  |  5 +----
 2 files changed, 3 insertions(+), 27 deletions(-)

diff --git a/sp-server-api/src/main/java/net/shibboleth/sp/BasicProtocolSupportService.java b/sp-server-api/src/main/java/net/shibboleth/sp/BasicProtocolSupportService.java
index cf88960..d6f95c7 100644
--- a/sp-server-api/src/main/java/net/shibboleth/sp/BasicProtocolSupportService.java
+++ b/sp-server-api/src/main/java/net/shibboleth/sp/BasicProtocolSupportService.java
@@ -62,9 +62,6 @@ public class BasicProtocolSupportService extends AbstractIdentifiableInitializab
 
     /** Non-metadata-driven unverified configurations. */
     @Nonnull private Collection<ProfileConfiguration> unverifiedProfileConfigurations;
-
-    /** Metadata-driven unverified configurations. */
-    @Nonnull private Collection<ProfileConfiguration> metadataDrivenUnverifiedProfileConfigurations;
     
     /** Constructor. */
     public BasicProtocolSupportService() {
@@ -76,7 +73,6 @@ public class BasicProtocolSupportService extends AbstractIdentifiableInitializab
         profileConfigurations = CollectionSupport.emptySet();
         metadataDrivenProfileConfigurations = CollectionSupport.emptySet();
         unverifiedProfileConfigurations = CollectionSupport.emptySet();
-        metadataDrivenUnverifiedProfileConfigurations = CollectionSupport.emptySet();
     }
     
     /** {@inheritDoc} */
@@ -214,9 +210,8 @@ public class BasicProtocolSupportService extends AbstractIdentifiableInitializab
     }
 
     /** {@inheritDoc} */
-    @Nonnull @Unmodifiable @NotLive public Collection<ProfileConfiguration> getUnverifiedProfileConfigurations(
-            boolean metadataDriven) {
-        return metadataDriven ? metadataDrivenUnverifiedProfileConfigurations : unverifiedProfileConfigurations;
+    @Nonnull @Unmodifiable @NotLive public Collection<ProfileConfiguration> getUnverifiedProfileConfigurations() {
+        return unverifiedProfileConfigurations;
     }
 
     /**
@@ -235,20 +230,4 @@ public class BasicProtocolSupportService extends AbstractIdentifiableInitializab
         }
     }
     
-    /**
-     * Sets the collection of available metadata-driven {@link ProfileConfiguration} objects to install
-     * for "unverified" use.
-     * 
-     * @param configs profile configurations
-     */
-    public void setMetadataDrivenUnverifiedDefaultProfileConfigurations(@Nullable final Collection<ProfileConfiguration> configs) {
-        checkSetterPreconditions();
-        
-        if (configs != null) {
-            metadataDrivenUnverifiedProfileConfigurations = CollectionSupport.copyToSet(configs);
-        } else {
-            metadataDrivenUnverifiedProfileConfigurations = CollectionSupport.emptySet();
-        }
-    }
-
 }
\ No newline at end of file
diff --git a/sp-server-api/src/main/java/net/shibboleth/sp/ProtocolSupportService.java b/sp-server-api/src/main/java/net/shibboleth/sp/ProtocolSupportService.java
index 1413a29..2745082 100644
--- a/sp-server-api/src/main/java/net/shibboleth/sp/ProtocolSupportService.java
+++ b/sp-server-api/src/main/java/net/shibboleth/sp/ProtocolSupportService.java
@@ -102,12 +102,9 @@ public interface ProtocolSupportService extends IdentifiedComponent, Initializab
      * Gets the collection of default {@link ProfileConfiguration} objects supplied by this protocol plugin.
      * 
      * <p>This collectuon should include only profiles intended for "unverified" use by default.</p>
-     * 
-     * @param metadataDriven true iff the metadata-driven variant of these objects should be returned
      *  
      * @return the relevant available profile configurations
      */
-    @Nonnull @Unmodifiable @NotLive Collection<ProfileConfiguration> getUnverifiedProfileConfigurations(
-            final boolean metadataDriven);
+    @Nonnull @Unmodifiable @NotLive Collection<ProfileConfiguration> getUnverifiedProfileConfigurations();
 
 }
\ No newline at end of file

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


More information about the commits mailing list