[java-plugin-shibd-saml] 01/03: Adjust and stub out NameID lookup property for requests.

Codeberg noreply at shibboleth.net
Wed Jul 1 14:24:50 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-saml.

View the commit online:
https://codeberg.org/Shibboleth/java-plugin-shibd-saml/commit/6d6a26f2c99ea4f44d66fa16ab7ba94a70e1324a

commit 6d6a26f2c99ea4f44d66fa16ab7ba94a70e1324a
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Wed Jul 1 09:45:43 2026 -0400

    Adjust and stub out NameID lookup property for requests.
---
 .../net/shibboleth/idp/flows/sp/initiator/saml2/saml2-beans.xml       | 2 +-
 .../main/resources/net/shibboleth/idp/module/conf/sp/saml.properties  | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/sp-saml-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/initiator/saml2/saml2-beans.xml b/sp-saml-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/initiator/saml2/saml2-beans.xml
index 677b671..a7b2f83 100644
--- a/sp-saml-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/initiator/saml2/saml2-beans.xml
+++ b/sp-saml-conf-impl/src/main/resources/META-INF/net/shibboleth/idp/flows/sp/initiator/saml2/saml2-beans.xml
@@ -38,7 +38,7 @@
     <bean id="AddAuthnRequest"
             class="net.shibboleth.sp.saml.saml2.profile.impl.AddAuthnRequest" scope="prototype"
             p:overwriteExisting="true"
-            p:nameIDLookupStrategy="#{getObject('%{sp.authn.SAML.NameIDLookupStrategy:}'.trim())}"
+            p:nameIDLookupStrategy="#{getObject('%{sp.saml.NameIDLookupStrategy:}'.trim())}"
             p:inboundBindingMap-ref="InboundSAML2BindingMap">
         <property name="identifierGeneratorLookupStrategy">
             <bean class="net.shibboleth.profile.config.navigate.IdentifierGenerationStrategyLookupFunction"
diff --git a/sp-saml-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/sp/saml.properties b/sp-saml-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/sp/saml.properties
index f0706be..0e6b6ac 100644
--- a/sp-saml-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/sp/saml.properties
+++ b/sp-saml-conf-impl/src/main/resources/net/shibboleth/idp/module/conf/sp/saml.properties
@@ -46,6 +46,10 @@ sp.saml.encryption.cert = %{idp.home}/credentials/sp/sp-encryption.crt
 # Other options:
 #   shibboleth.sp.ChainingX509TrustEngine, shibboleth.sp.PKIXX509TrustEngine
 
+# Optionally set to bean implementing Function<ProfileRequestContext,NameID>
+#  to populate Subject of AuthnRequest
+# sp.saml.request.NameIDLookupStrategy =
+
 # Set true to accept any decided attributes without a filtering rule
 #sp.saml.acceptUnfilteredAttributes = false
 

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


More information about the commits mailing list