[java-idp-integration-tests] 03/03: JOIDC-147 - Add remaining OP Conformance authorization tests
Tom Zeller
tzeller at dragonacea.biz
Fri Aug 30 02:10:09 UTC 2024
This is an automated email from the git hooks/post-receive script.
tzeller pushed a commit to branch main
in repository java-idp-integration-tests.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-integration-tests.git;a=commit;h=9bd43d5345e484b05bf863509bd2b4c2712b3eaf
commit 9bd43d5345e484b05bf863509bd2b4c2712b3eaf
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Thu Aug 29 19:45:32 2024 -0500
JOIDC-147 - Add remaining OP Conformance authorization tests
https://shibboleth.atlassian.net/browse/JOIDC-147
---
.../integration/tests/oidc/OPConformanceTest.java | 101 +++++++++++++++++++--
1 file changed, 94 insertions(+), 7 deletions(-)
diff --git a/src/test/java/net/shibboleth/idp/integration/tests/oidc/OPConformanceTest.java b/src/test/java/net/shibboleth/idp/integration/tests/oidc/OPConformanceTest.java
index f8ce0b7..738a1de 100644
--- a/src/test/java/net/shibboleth/idp/integration/tests/oidc/OPConformanceTest.java
+++ b/src/test/java/net/shibboleth/idp/integration/tests/oidc/OPConformanceTest.java
@@ -265,7 +265,8 @@ public class OPConformanceTest extends BaseOPTest {
final String testPlan = //
"scripts/run-test-plan.py --verbose " + //
- "'oidcc-config-certification-test-plan' testop-config.json";
+ "'oidcc-config-certification-test-plan' " + //
+ "testop-config.json";
conformanceSuite.runTest(description, testPlan);
}
@@ -282,7 +283,8 @@ public class OPConformanceTest extends BaseOPTest {
"scripts/run-test-plan.py --verbose " + //
"--expected-skips-file skip-oidcc-idtoken-unsigned.json " + //
"--expected-failures-file skip-oidcc-server-rotate-keys.json " + //
- "'oidcc-dynamic-certification-test-plan[response_type=code]' testop-config.json";
+ "'oidcc-dynamic-certification-test-plan[response_type=code]' " + //
+ "testop-config.json";
conformanceSuite.runTest(description, testPlan);
}
@@ -298,7 +300,8 @@ public class OPConformanceTest extends BaseOPTest {
final String testPlan = //
"scripts/run-test-plan.py --verbose " + //
"--expected-failures-file skip-oidcc-server-rotate-keys.json " + //
- "'oidcc-dynamic-certification-test-plan[response_type=id_token]' testop-config.json";
+ "'oidcc-dynamic-certification-test-plan[response_type=id_token]' " + //
+ "testop-config.json";
conformanceSuite.runTest(description, testPlan);
}
@@ -314,7 +317,8 @@ public class OPConformanceTest extends BaseOPTest {
final String testPlan = //
"scripts/run-test-plan.py --verbose " + //
"--expected-failures-file skip-oidcc-server-rotate-keys.json " + //
- "'oidcc-dynamic-certification-test-plan[response_type=id_token token]' testop-config.json";
+ "'oidcc-dynamic-certification-test-plan[response_type=id_token token]' " + //
+ "testop-config.json";
conformanceSuite.runTest(description, testPlan);
}
@@ -330,7 +334,8 @@ public class OPConformanceTest extends BaseOPTest {
final String testPlan = //
"scripts/run-test-plan.py --verbose " + //
"--expected-failures-file skip-oidcc-server-rotate-keys.json " + //
- "'oidcc-dynamic-certification-test-plan[response_type=code id_token]' testop-config.json";
+ "'oidcc-dynamic-certification-test-plan[response_type=code id_token]' " + //
+ "testop-config.json";
conformanceSuite.runTest(description, testPlan);
}
@@ -347,7 +352,8 @@ public class OPConformanceTest extends BaseOPTest {
"scripts/run-test-plan.py --verbose " + //
"--expected-skips-file skip-oidcc-idtoken-unsigned.json " + //
"--expected-failures-file skip-oidcc-server-rotate-keys.json " + //
- "'oidcc-dynamic-certification-test-plan[response_type=code token]' testop-config.json";
+ "'oidcc-dynamic-certification-test-plan[response_type=code token]' " + //
+ "testop-config.json";
conformanceSuite.runTest(description, testPlan);
}
@@ -363,7 +369,88 @@ public class OPConformanceTest extends BaseOPTest {
final String testPlan = //
"scripts/run-test-plan.py --verbose " + //
"--expected-failures-file skip-oidcc-server-rotate-keys.json " + //
- "'oidcc-dynamic-certification-test-plan[response_type=code id_token token]' testop-config.json";
+ "'oidcc-dynamic-certification-test-plan[response_type=code id_token token]' " + //
+ "testop-config.json";
+
+ conformanceSuite.runTest(description, testPlan);
+ }
+
+ @Test
+ @IdPV5OrLater
+ @LinuxOnly
+ @OPConformance
+ public void testFormPostBasicCertificationProfileAuthorization() throws Exception {
+
+ final String description = "form post basic certification profile authorization test";
+
+ final String testPlan = //
+ "scripts/run-test-plan.py --verbose " + //
+ "--expected-skips-file skip-oidcc-idtoken-unsigned.json " + //
+ "'oidcc-formpost-basic-certification-test-plan[server_metadata=discovery][client_registration=dynamic_client]' " + //
+ "testop-config.json";
+
+ conformanceSuite.runTest(description, testPlan);
+ }
+
+ @Test
+ @IdPV5OrLater
+ @LinuxOnly
+ @OPConformance
+ public void testFormPostHybridCertificationProfileAuthorization() throws Exception {
+
+ final String description = "form post hybrid certification profile authorization test";
+
+ final String testPlan = //
+ "scripts/run-test-plan.py --verbose " + //
+ "'oidcc-formpost-hybrid-certification-test-plan[server_metadata=discovery][client_registration=dynamic_client]' " + //
+ "testop-config.json";
+
+ conformanceSuite.runTest(description, testPlan);
+ }
+
+ @Test
+ @IdPV5OrLater
+ @LinuxOnly
+ @OPConformance
+ public void testFormPostImplicitCertificationProfileAuthorization() throws Exception {
+
+ final String description = "form post implicit certification profile authorization test";
+
+ final String testPlan = //
+ "scripts/run-test-plan.py --verbose " + //
+ "'oidcc-formpost-implicit-certification-test-plan[server_metadata=discovery][client_registration=dynamic_client]' " + //
+ "testop-config.json";
+ conformanceSuite.runTest(description, testPlan);
+ }
+
+ @Test
+ @IdPV5OrLater
+ @LinuxOnly
+ @OPConformance
+ public void testHybridCertificationProfileAuthorization() throws Exception {
+
+ final String description = "hybrid certification profile authorization test";
+
+ final String testPlan = //
+ "scripts/run-test-plan.py --verbose " + //
+ "'oidcc-hybrid-certification-test-plan[server_metadata=discovery][client_registration=dynamic_client]' " + //
+ "testop-config.json";
+
+ conformanceSuite.runTest(description, testPlan);
+ }
+
+ @Test
+ @IdPV5OrLater
+ @LinuxOnly
+ @OPConformance
+ public void testImplicitCertificationProfileAuthorization() throws Exception {
+
+ final String description = "implicit certification profile authorization test";
+
+ final String testPlan = //
+ "scripts/run-test-plan.py --verbose " + //
+ "'oidcc-implicit-certification-test-plan[server_metadata=discovery][client_registration=dynamic_client]' " + //
+ "testop-config.json";
conformanceSuite.runTest(description, testPlan);
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list