[java-idp-integration-tests] 03/03: Allow access to the status page from the EC2 host

Tom Zeller tzeller at dragonacea.biz
Sat Jul 13 01:34:17 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=8472eeedd2bd10d90e68fa2ccf5719edea70c5c2

commit 8472eeedd2bd10d90e68fa2ccf5719edea70c5c2
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Fri Jul 12 20:33:51 2024 -0500

    Allow access to the status page from the EC2 host
---
 .../net/shibboleth/idp/integration/tests/BaseIntegrationTest.java  | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/test/java/net/shibboleth/idp/integration/tests/BaseIntegrationTest.java b/src/test/java/net/shibboleth/idp/integration/tests/BaseIntegrationTest.java
index 505bd83..59c5343 100644
--- a/src/test/java/net/shibboleth/idp/integration/tests/BaseIntegrationTest.java
+++ b/src/test/java/net/shibboleth/idp/integration/tests/BaseIntegrationTest.java
@@ -863,6 +863,13 @@ public abstract class BaseIntegrationTest {
             clientIPRanges.add(privateSecureAddress + "/32");
         }
 
+        if (Boolean.getBoolean("EC2")) {
+            clientIPRanges.add(address + "/32");
+            clientIPRanges.add(secureAddress + "/32");
+            clientIPRanges.add(privateAddress + "/32");
+            clientIPRanges.add(privateSecureAddress + "/32");
+        }
+
         final List<String> escapedClientIPRanges = new ArrayList<>();
         for(final String clientIPRange : clientIPRanges) {
             escapedClientIPRanges.add("'" + clientIPRange + "'");

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list