[java-identity-provider] branch main updated: Fix test by injecting a dummy SecurityConfiguration.
Scott Cantor
cantor.2 at osu.edu
Thu Oct 13 17:25:11 UTC 2022
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to branch main
in repository java-identity-provider.
View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=a7de553cbec0fa7b1c2c86ef47c2f9fec32abe61
The following commit(s) were added to refs/heads/main by this push:
new a7de553cb Fix test by injecting a dummy SecurityConfiguration.
a7de553cb is described below
commit a7de553cbec0fa7b1c2c86ef47c2f9fec32abe61
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Thu Oct 13 13:25:08 2022 -0400
Fix test by injecting a dummy SecurityConfiguration.
---
.../net/shibboleth/idp/saml/saml2/profile/impl/AddAuthnRequestTest.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/saml2/profile/impl/AddAuthnRequestTest.java b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/saml2/profile/impl/AddAuthnRequestTest.java
index 216872385..411834ab6 100644
--- a/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/saml2/profile/impl/AddAuthnRequestTest.java
+++ b/idp-saml-impl/src/test/java/net/shibboleth/idp/saml/saml2/profile/impl/AddAuthnRequestTest.java
@@ -26,6 +26,7 @@ import java.util.stream.Collectors;
import net.shibboleth.idp.authn.context.AuthenticationContext;
import net.shibboleth.idp.authn.context.RequestedPrincipalContext;
import net.shibboleth.idp.profile.IdPEventIds;
+import net.shibboleth.idp.profile.config.SecurityConfiguration;
import org.opensaml.profile.action.EventIds;
import org.opensaml.profile.context.ProfileRequestContext;
@@ -90,6 +91,7 @@ public class AddAuthnRequestTest extends OpenSAMLInitBaseTestCase {
rp.initialize();
rpc.setConfiguration(rp);
rpc.setProfileConfig(new BrowserSSOProfileConfiguration());
+ ((BrowserSSOProfileConfiguration) rpc.getProfileConfig()).setSecurityConfiguration(new SecurityConfiguration());
action = new AddAuthnRequest();
action.setProfileContextLookupStrategy(
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list