[java-plugin-shibd-saml] branch main updated: Default in issuer lookup.
Scott Cantor
cantor.2 at osu.edu
Thu Oct 17 15:07:25 UTC 2024
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-plugin-shibd-saml.
View the commit online:
http://git.shibboleth.net/view/?p=java-plugin-shibd-saml.git;a=commit;h=90b68f567afdefed6c2f0c3b2d3c10b4209bb7bd
The following commit(s) were added to refs/heads/main by this push:
new 90b68f5 Default in issuer lookup.
90b68f5 is described below
commit 90b68f567afdefed6c2f0c3b2d3c10b4209bb7bd
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Oct 17 11:07:19 2024 -0400
Default in issuer lookup.
---
.../net/shibboleth/idp/flows/sp/initiator/saml2/saml2-beans.xml | 1 -
.../net/shibboleth/sp/saml/saml2/profile/impl/AddAuthnRequest.java | 4 +++-
2 files changed, 3 insertions(+), 2 deletions(-)
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 276429e..623253e 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
@@ -101,7 +101,6 @@
<bean id="AddAuthnRequest"
class="net.shibboleth.sp.saml.saml2.profile.impl.AddAuthnRequest" scope="prototype"
p:overwriteExisting="true"
- p:issuerLookupStrategy-ref="shibboleth.IssuerLookup.Simple"
p:nameIDLookupStrategy="#{getObject('%{sp.authn.SAML.NameIDLookupStrategy:}'.trim())}">
<property name="identifierGeneratorLookupStrategy">
<bean class="net.shibboleth.profile.config.navigate.IdentifierGenerationStrategyLookupFunction"
diff --git a/sp-saml-impl/src/main/java/net/shibboleth/sp/saml/saml2/profile/impl/AddAuthnRequest.java b/sp-saml-impl/src/main/java/net/shibboleth/sp/saml/saml2/profile/impl/AddAuthnRequest.java
index 2951bb6..69ab38e 100644
--- a/sp-saml-impl/src/main/java/net/shibboleth/sp/saml/saml2/profile/impl/AddAuthnRequest.java
+++ b/sp-saml-impl/src/main/java/net/shibboleth/sp/saml/saml2/profile/impl/AddAuthnRequest.java
@@ -26,6 +26,7 @@ import javax.annotation.Nullable;
import net.shibboleth.idp.profile.IdPEventIds;
import net.shibboleth.profile.config.navigate.IdentifierGenerationStrategyLookupFunction;
import net.shibboleth.profile.context.RelyingPartyContext;
+import net.shibboleth.profile.context.navigate.IssuerLookupFunction;
import net.shibboleth.shared.annotation.constraint.NonnullBeforeExec;
import net.shibboleth.shared.collection.CollectionSupport;
import net.shibboleth.shared.logic.Constraint;
@@ -124,7 +125,8 @@ public class AddAuthnRequest extends AbstractApplicationAction {
public AddAuthnRequest() {
// Default strategy is a 16-byte secure random source.
idGeneratorLookupStrategy = new IdentifierGenerationStrategyLookupFunction();
-
+
+ issuerLookupStrategy = new IssuerLookupFunction();
relyingPartyContextLookupStrategy = new ChildContextLookup<>(RelyingPartyContext.class);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list