|
@@ -37,7 +37,6 @@ import okhttp3.mockwebserver.MockWebServer;
|
|
import okhttp3.mockwebserver.RecordedRequest;
|
|
import okhttp3.mockwebserver.RecordedRequest;
|
|
import org.junit.jupiter.api.AfterAll;
|
|
import org.junit.jupiter.api.AfterAll;
|
|
import org.junit.jupiter.api.BeforeAll;
|
|
import org.junit.jupiter.api.BeforeAll;
|
|
-import org.junit.jupiter.api.Disabled;
|
|
|
|
import org.junit.jupiter.api.Test;
|
|
import org.junit.jupiter.api.Test;
|
|
import org.opensaml.core.xml.XMLObject;
|
|
import org.opensaml.core.xml.XMLObject;
|
|
import org.opensaml.core.xml.config.XMLObjectProviderRegistrySupport;
|
|
import org.opensaml.core.xml.config.XMLObjectProviderRegistrySupport;
|
|
@@ -106,7 +105,6 @@ public class OpenSaml4AssertingPartyMetadataRepositoryTests {
|
|
}
|
|
}
|
|
|
|
|
|
@Test
|
|
@Test
|
|
- @Disabled("See gh-15395")
|
|
|
|
public void withMetadataUrlLocationWhenResolvableThenFindByEntityIdReturns() throws Exception {
|
|
public void withMetadataUrlLocationWhenResolvableThenFindByEntityIdReturns() throws Exception {
|
|
AssertingPartyMetadataRepository parties = OpenSaml4AssertingPartyMetadataRepository
|
|
AssertingPartyMetadataRepository parties = OpenSaml4AssertingPartyMetadataRepository
|
|
.withTrustedMetadataLocation(web.url("/entity.xml").toString())
|
|
.withTrustedMetadataLocation(web.url("/entity.xml").toString())
|
|
@@ -121,7 +119,6 @@ public class OpenSaml4AssertingPartyMetadataRepositoryTests {
|
|
}
|
|
}
|
|
|
|
|
|
@Test
|
|
@Test
|
|
- @Disabled("See gh-15395")
|
|
|
|
public void withMetadataUrlLocationnWhenResolvableThenIteratorReturns() throws Exception {
|
|
public void withMetadataUrlLocationnWhenResolvableThenIteratorReturns() throws Exception {
|
|
List<AssertingPartyMetadata> parties = new ArrayList<>();
|
|
List<AssertingPartyMetadata> parties = new ArrayList<>();
|
|
OpenSaml4AssertingPartyMetadataRepository.withTrustedMetadataLocation(web.url("/entities.xml").toString())
|
|
OpenSaml4AssertingPartyMetadataRepository.withTrustedMetadataLocation(web.url("/entities.xml").toString())
|
|
@@ -218,7 +215,6 @@ public class OpenSaml4AssertingPartyMetadataRepositoryTests {
|
|
}
|
|
}
|
|
|
|
|
|
@Test
|
|
@Test
|
|
- @Disabled("See gh-15395")
|
|
|
|
public void withTrustedMetadataLocationWhenMatchingCredentialsThenVerifiesSignature() throws IOException {
|
|
public void withTrustedMetadataLocationWhenMatchingCredentialsThenVerifiesSignature() throws IOException {
|
|
RelyingPartyRegistration registration = TestRelyingPartyRegistrations.full().build();
|
|
RelyingPartyRegistration registration = TestRelyingPartyRegistrations.full().build();
|
|
EntityDescriptor descriptor = TestOpenSamlObjects.entityDescriptor(registration);
|
|
EntityDescriptor descriptor = TestOpenSamlObjects.entityDescriptor(registration);
|
|
@@ -237,7 +233,6 @@ public class OpenSaml4AssertingPartyMetadataRepositoryTests {
|
|
}
|
|
}
|
|
|
|
|
|
@Test
|
|
@Test
|
|
- @Disabled("See gh-15395")
|
|
|
|
public void withTrustedMetadataLocationWhenMismatchingCredentialsThenSaml2Exception() throws IOException {
|
|
public void withTrustedMetadataLocationWhenMismatchingCredentialsThenSaml2Exception() throws IOException {
|
|
RelyingPartyRegistration registration = TestRelyingPartyRegistrations.full().build();
|
|
RelyingPartyRegistration registration = TestRelyingPartyRegistrations.full().build();
|
|
EntityDescriptor descriptor = TestOpenSamlObjects.entityDescriptor(registration);
|
|
EntityDescriptor descriptor = TestOpenSamlObjects.entityDescriptor(registration);
|
|
@@ -332,7 +327,6 @@ public class OpenSaml4AssertingPartyMetadataRepositoryTests {
|
|
}
|
|
}
|
|
|
|
|
|
@Test
|
|
@Test
|
|
- @Disabled("See gh-15395")
|
|
|
|
public void withMetadataLocationWhenMatchingCredentialsThenVerifiesSignature() throws IOException {
|
|
public void withMetadataLocationWhenMatchingCredentialsThenVerifiesSignature() throws IOException {
|
|
RelyingPartyRegistration registration = TestRelyingPartyRegistrations.full().build();
|
|
RelyingPartyRegistration registration = TestRelyingPartyRegistrations.full().build();
|
|
EntityDescriptor descriptor = TestOpenSamlObjects.entityDescriptor(registration);
|
|
EntityDescriptor descriptor = TestOpenSamlObjects.entityDescriptor(registration);
|