[java-shib-profile] branch main updated: IDP-2330 - Hook for populating group ID in attribute resolution context

Scott Cantor cantor.2 at osu.edu
Tue Mar 25 15:13:07 UTC 2025


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

scantor pushed a commit to branch main
in repository java-shib-profile.

View the commit online:
http://git.shibboleth.net/view/?p=java-shib-profile.git;a=commit;h=d5011468ad0e994114e21af76fd74f843e7c637f

The following commit(s) were added to refs/heads/main by this push:
     new d501146  IDP-2330 - Hook for populating group ID in attribute resolution context
d501146 is described below

commit d5011468ad0e994114e21af76fd74f843e7c637f
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Mar 25 11:13:04 2025 -0400

    IDP-2330 - Hook for populating group ID in attribute resolution context
    
    https://shibboleth.atlassian.net/browse/IDP-2330
    
    Default new method for backward compatibility.
---
 .../profile/config/AttributeResolvingProfileConfiguration.java      | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/shib-profile-api/src/main/java/net/shibboleth/profile/config/AttributeResolvingProfileConfiguration.java b/shib-profile-api/src/main/java/net/shibboleth/profile/config/AttributeResolvingProfileConfiguration.java
index 952927f..264808d 100644
--- a/shib-profile-api/src/main/java/net/shibboleth/profile/config/AttributeResolvingProfileConfiguration.java
+++ b/shib-profile-api/src/main/java/net/shibboleth/profile/config/AttributeResolvingProfileConfiguration.java
@@ -44,6 +44,8 @@ public interface AttributeResolvingProfileConfiguration extends ProfileConfigura
      * that group services into collections for the purposes of producing (e.g.,) pairwise
      * identifiers.</p>
      * 
+     * <p>TODO: Default implementation should be removed in 6.0.0.</p>
+     * 
      * @param profileRequestContext current profile request context
      * 
      * @return the recipient group ID or null
@@ -51,6 +53,8 @@ public interface AttributeResolvingProfileConfiguration extends ProfileConfigura
      * @since 5.2.0
      */
     @ConfigurationSetting(name="attributeRecipientGroupID")
-    @Nullable String getAttributeRecipientGroupID(@Nullable final ProfileRequestContext profileRequestContext);
+    @Nullable default String getAttributeRecipientGroupID(@Nullable final ProfileRequestContext profileRequestContext) {
+        return null;
+    }
 
 }
\ 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