[java-shib-profile] branch main updated: JSATTR-6: SAML AttributeQuery DataConnector

Brent Putman putmanb at georgetown.edu
Thu May 29 22:17:25 UTC 2025


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

putmanb 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=1f07b7392633544ee4bb00433acd2dc89add3c16

The following commit(s) were added to refs/heads/main by this push:
     new 1f07b73  JSATTR-6: SAML AttributeQuery DataConnector
1f07b73 is described below

commit 1f07b7392633544ee4bb00433acd2dc89add3c16
Author: Brent Putman <putmanb at georgetown.edu>
AuthorDate: Thu May 29 18:13:53 2025 -0400

    JSATTR-6: SAML AttributeQuery DataConnector
    
    Add support for SOAP signing and client TLS predicates on
    AttributeQueryProfileConfiguration
---
 .../config/AttributeQueryProfileConfiguration.java | 25 ++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/shib-saml-profile-api/src/main/java/net/shibboleth/saml/saml2/profile/config/AttributeQueryProfileConfiguration.java b/shib-saml-profile-api/src/main/java/net/shibboleth/saml/saml2/profile/config/AttributeQueryProfileConfiguration.java
index 512a175..651c199 100644
--- a/shib-saml-profile-api/src/main/java/net/shibboleth/saml/saml2/profile/config/AttributeQueryProfileConfiguration.java
+++ b/shib-saml-profile-api/src/main/java/net/shibboleth/saml/saml2/profile/config/AttributeQueryProfileConfiguration.java
@@ -15,6 +15,9 @@
 package net.shibboleth.saml.saml2.profile.config;
 
 import javax.annotation.Nonnull;
+import javax.annotation.Nullable;
+
+import org.opensaml.messaging.context.MessageContext;
 
 import net.shibboleth.profile.config.AttributeResolvingProfileConfiguration;
 import net.shibboleth.shared.annotation.constraint.NotEmpty;
@@ -31,4 +34,26 @@ public interface AttributeQueryProfileConfiguration
     /** ID for this profile configuration. */
     @Nonnull @NotEmpty static final String PROFILE_ID = "http://shibboleth.net/ns/profiles/saml2/query/attribute";
     
+    /**
+     * Get whether SOAP-based requests should be signed.
+     * 
+     * @param messageContext current message context
+     * 
+     * @return whether SOAP-based requests should be signed
+     * 
+     * @since 5.2.0
+     */
+    boolean isSignSOAPRequests(@Nullable final MessageContext messageContext);
+
+    /**
+     * Get whether SOAP-based requests should use client TLS.
+     * 
+     * @param messageContext current message context
+     * 
+     * @return whether SOAP-based requests should use client TLS
+     * 
+     * @since 5.2.0
+     */
+    boolean isClientTLSSOAPRequests(@Nullable final MessageContext messageContext);
+    
 }
\ 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