[java-idp-integration-tests] 02/04: Set up real cert and credentials via environment
Tom Zeller
tzeller at dragonacea.biz
Wed Jan 31 22:32:00 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=0d67cb124caeb320d0e906cbb07f594e05a9b650
commit 0d67cb124caeb320d0e906cbb07f594e05a9b650
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Wed Jan 31 16:05:59 2024 -0600
Set up real cert and credentials via environment
https://shibboleth.atlassian.net/browse/IDP-2228
---
pom.xml | 33 +++++++++++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/pom.xml b/pom.xml
index 92fc895..f372583 100644
--- a/pom.xml
+++ b/pom.xml
@@ -428,6 +428,39 @@
</executions>
</plugin>
+ <!-- Set up *.tests.shibboleth.net wildcard cert -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <version>3.1.0</version>
+ <executions>
+ <execution>
+ <id>set-up-tests-pfx</id>
+ <phase>package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <!-- Run only if DNS system property is true -->
+ <target if="DNS">
+ <!-- Copy pfx file -->
+ <copy
+ file="${env.tests_pfx_filepath}"
+ tofile="${test-distributions.directory}/jetty-base/credentials/idp-userfacing.p12"
+ failonerror="true"
+ overwrite="true"/>
+ <!-- Replace pfx password -->
+ <replace
+ file="${test-distributions.directory}/jetty-base/start.d/idp.ini"
+ token="changeit"
+ value="${env.tests_pfx_pwd}"
+ summary="true" />
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list