[java-identity-provider] branch main updated: IDP-1852 - Test references SP metadata at issues.shibboleth.net
Scott Cantor
cantor.2 at osu.edu
Tue Mar 22 17:27:48 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=b041743167ca61a6daeb48082a63f912785b6655
The following commit(s) were added to refs/heads/main by this push:
new b04174316 IDP-1852 - Test references SP metadata at issues.shibboleth.net
b04174316 is described below
commit b041743167ca61a6daeb48082a63f912785b6655
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Mar 22 13:27:45 2022 -0400
IDP-1852 - Test references SP metadata at issues.shibboleth.net
https://shibboleth.atlassian.net/browse/IDP-1852
Switched to use test.shibboleth.net for now.
---
.../metadata/DynamicHTTPMetadataProviderParserTest.java | 6 +++---
.../idp/profile/spring/relyingparty/metadata/dynamicWellKnown.xml | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/DynamicHTTPMetadataProviderParserTest.java b/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/DynamicHTTPMetadataProviderParserTest.java
index d97b64183..86bacf734 100644
--- a/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/DynamicHTTPMetadataProviderParserTest.java
+++ b/idp-profile-spring/src/test/java/net/shibboleth/idp/profile/spring/relyingparty/metadata/DynamicHTTPMetadataProviderParserTest.java
@@ -214,13 +214,13 @@ public class DynamicHTTPMetadataProviderParserTest extends AbstractMetadataParse
}
// Test disabled due to target site being unavailable, see IDP-1852
- @Test(enabled=false)
+ @Test
public void testWellKnown() throws Exception {
final FunctionDrivenDynamicHTTPMetadataResolver resolver = getBean(FunctionDrivenDynamicHTTPMetadataResolver.class,
"dynamicWellKnown.xml", "beans.xml");
- //TODO update with permanent test target, if there is a better one.
- final String entityID = "https://issues.shibboleth.net/shibboleth";
+ // TODO: this really should be an embedded mock server
+ final String entityID = "https://test.shibboleth.net/shibboleth";
final CriteriaSet criteriaSet = new CriteriaSet( new EntityIdCriterion(entityID));
diff --git a/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/dynamicWellKnown.xml b/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/dynamicWellKnown.xml
index a72afb197..3364eeadc 100644
--- a/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/dynamicWellKnown.xml
+++ b/idp-profile-spring/src/test/resources/net/shibboleth/idp/profile/spring/relyingparty/metadata/dynamicWellKnown.xml
@@ -4,7 +4,7 @@
xsi:schemaLocation="urn:mace:shibboleth:2.0:metadata http://shibboleth.net/schema/idp/shibboleth-metadata.xsd
urn:oasis:names:tc:SAML:2.0:metadata http://docs.oasis-open.org/security/saml/v2.0/saml-schema-metadata-2.0.xsd"
- id="dynamicWellKnown" xsi:type="metadata:DynamicHTTPMetadataProvider" >
+ id="dynamicWellKnown" xsi:type="metadata:DynamicHTTPMetadataProvider"
+ disregardTLSCertificate="true" >
-</metadata:MetadataProvider>
-
\ No newline at end of file
+</metadata:MetadataProvider>
\ 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