From 3409a0c840d6d49416ff26a3c2ff4d5b340cdc09 Mon Sep 17 00:00:00 2001 From: Stefan Guilhen Date: Mon, 30 Jan 2023 22:36:58 -0300 Subject: [PATCH] Fixes SAML tests in testsuite - adds dependency to saaj-impl in saml core public - updates test apps' web.xml files to use jakarta namespaces - small cleanup in main pom - changes order of e-mail servers in testsuite pom to enforce usage of greenmail (changes order in Undertow's classpath) Closes #16711 --- boms/pom.xml | 1 + pom.xml | 9 ++++----- saml-core-api/pom.xml | 4 ++++ .../app-profile-jee/src/main/webapp/WEB-INF/web.xml | 9 +++++---- .../database-service/src/main/webapp/WEB-INF/web.xml | 9 +++++---- .../src/main/webapp/WEB-INF/web.xml | 8 ++++---- .../photoz-restful-api/src/main/webapp/WEB-INF/web.xml | 8 ++++---- .../servlet-authz/src/main/webapp/WEB-INF/web.xml | 8 ++++---- .../src/main/webapp/WEB-INF/web.xml | 8 ++++---- testsuite/integration-arquillian/tests/base/pom.xml | 8 ++++---- 10 files changed, 39 insertions(+), 33 deletions(-) diff --git a/boms/pom.xml b/boms/pom.xml index 1e6476eeee3..f92a87bc1ba 100644 --- a/boms/pom.xml +++ b/boms/pom.xml @@ -22,6 +22,7 @@ org.jboss jboss-parent 39 + org.keycloak.bom diff --git a/pom.xml b/pom.xml index 3468e59494c..bd8003579e0 100644 --- a/pom.xml +++ b/pom.xml @@ -115,10 +115,9 @@ 1.7.30 1.7.30 3.0.10 + 2.0.1 2.3.3-b02 - 2.4.0-b180830.0359 1.3.2 - 2.3.1 1.2.2 2.3.3-b02 2.2.22.Final @@ -358,9 +357,9 @@ ${sun.istack.version} - javax.xml.bind - jaxb-api - ${javax.xml.bind.jaxb.version} + com.sun.xml.messaging.saaj + saaj-impl + ${sun.saaj.version} com.sun.xml.bind.external diff --git a/saml-core-api/pom.xml b/saml-core-api/pom.xml index 8f00eabcc97..e1d7f10101f 100755 --- a/saml-core-api/pom.xml +++ b/saml-core-api/pom.xml @@ -57,6 +57,10 @@ jakarta.xml.ws jakarta.xml.ws-api + + com.sun.xml.messaging.saaj + saaj-impl + diff --git a/testsuite/integration-arquillian/test-apps/app-profile-jee/src/main/webapp/WEB-INF/web.xml b/testsuite/integration-arquillian/test-apps/app-profile-jee/src/main/webapp/WEB-INF/web.xml index c04428279b6..2bb2a943ffe 100644 --- a/testsuite/integration-arquillian/test-apps/app-profile-jee/src/main/webapp/WEB-INF/web.xml +++ b/testsuite/integration-arquillian/test-apps/app-profile-jee/src/main/webapp/WEB-INF/web.xml @@ -15,15 +15,16 @@ * License for the specific language governing permissions and limitations under * the License. --> - + app-profile-jee + Protected /profile.jsp diff --git a/testsuite/integration-arquillian/test-apps/cors/database-service/src/main/webapp/WEB-INF/web.xml b/testsuite/integration-arquillian/test-apps/cors/database-service/src/main/webapp/WEB-INF/web.xml index 3ca3495033e..b7a7df6b3b5 100755 --- a/testsuite/integration-arquillian/test-apps/cors/database-service/src/main/webapp/WEB-INF/web.xml +++ b/testsuite/integration-arquillian/test-apps/cors/database-service/src/main/webapp/WEB-INF/web.xml @@ -16,15 +16,16 @@ ~ limitations under the License. --> - + cors-database + All Resources /* - + hello-world-authz-service diff --git a/testsuite/integration-arquillian/test-apps/photoz/photoz-restful-api/src/main/webapp/WEB-INF/web.xml b/testsuite/integration-arquillian/test-apps/photoz/photoz-restful-api/src/main/webapp/WEB-INF/web.xml index 508bc727475..dbbd85b8159 100644 --- a/testsuite/integration-arquillian/test-apps/photoz/photoz-restful-api/src/main/webapp/WEB-INF/web.xml +++ b/testsuite/integration-arquillian/test-apps/photoz/photoz-restful-api/src/main/webapp/WEB-INF/web.xml @@ -1,8 +1,8 @@ - + photoz-restful-api diff --git a/testsuite/integration-arquillian/test-apps/servlet-authz/src/main/webapp/WEB-INF/web.xml b/testsuite/integration-arquillian/test-apps/servlet-authz/src/main/webapp/WEB-INF/web.xml index 3372bbe4e29..9eb716c9069 100644 --- a/testsuite/integration-arquillian/test-apps/servlet-authz/src/main/webapp/WEB-INF/web.xml +++ b/testsuite/integration-arquillian/test-apps/servlet-authz/src/main/webapp/WEB-INF/web.xml @@ -1,8 +1,8 @@ - + servlet-authz-app diff --git a/testsuite/integration-arquillian/test-apps/servlet-policy-enforcer/src/main/webapp/WEB-INF/web.xml b/testsuite/integration-arquillian/test-apps/servlet-policy-enforcer/src/main/webapp/WEB-INF/web.xml index 3916450d411..abd83c7f79b 100644 --- a/testsuite/integration-arquillian/test-apps/servlet-policy-enforcer/src/main/webapp/WEB-INF/web.xml +++ b/testsuite/integration-arquillian/test-apps/servlet-policy-enforcer/src/main/webapp/WEB-INF/web.xml @@ -17,10 +17,10 @@ ~ --> - + servlet-policy-enforcer diff --git a/testsuite/integration-arquillian/tests/base/pom.xml b/testsuite/integration-arquillian/tests/base/pom.xml index bad530ee72f..e4f3ef44749 100644 --- a/testsuite/integration-arquillian/tests/base/pom.xml +++ b/testsuite/integration-arquillian/tests/base/pom.xml @@ -98,13 +98,13 @@ compile - org.subethamail - subethasmtp + com.icegreen + greenmail compile - com.icegreen - greenmail + org.subethamail + subethasmtp compile