[java-shib-attribute] branch main updated: JSATTR-50 - Use standard dummy DNS name for validation

Codeberg noreply at shibboleth.net
Wed Jul 15 18:54:29 UTC 2026


This is an automated email from the git hooks/post-receive script.

codeberg pushed a commit to branch main
in repository java-shib-attribute.

View the commit online:
https://codeberg.org/Shibboleth/java-shib-attribute/commit/8491835a1a4be3fddccf7b00ecfec85b4e007a9c

The following commit(s) were added to refs/heads/main by this push:
     new 8491835a1 JSATTR-50 - Use standard dummy DNS name for validation
8491835a1 is described below

commit 8491835a1a4be3fddccf7b00ecfec85b4e007a9c
Author: Scott Cantor <scott at restingparrotsoftware.com>
AuthorDate: Wed Jul 15 14:54:14 2026 -0400

    JSATTR-50 - Use standard dummy DNS name for validation
    
    https://shibboleth.atlassian.net/browse/JSATTR-50
---
 .../net/shibboleth/idp/attribute/impl/JDBCPairwiseIdStore.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/shib-attribute-impl/src/main/java/net/shibboleth/idp/attribute/impl/JDBCPairwiseIdStore.java b/shib-attribute-impl/src/main/java/net/shibboleth/idp/attribute/impl/JDBCPairwiseIdStore.java
index 0903c5244..46fc69982 100644
--- a/shib-attribute-impl/src/main/java/net/shibboleth/idp/attribute/impl/JDBCPairwiseIdStore.java
+++ b/shib-attribute-impl/src/main/java/net/shibboleth/idp/attribute/impl/JDBCPairwiseIdStore.java
@@ -576,7 +576,7 @@ public class JDBCPairwiseIdStore extends AbstractInitializableComponent implemen
             if (verifyDatabase) {
                 log.error("Exception verifying database", e);
                 throw new ComponentInitializationException(
-                        "The database was not reachable or was not defined with an appropriate table + primary key");
+                        "The database was not reachable or was not defined with an appropriate table + primary key", e);
             }
             log.warn("The database was not reachable or was not defined with an appropriate table + primary key", e);
         }
@@ -865,8 +865,8 @@ public class JDBCPairwiseIdStore extends AbstractInitializableComponent implemen
         final String uuid = UUID.randomUUID().toString();
         
         final PairwiseId newEntry = new PairwiseId();
-        newEntry.setIssuerEntityID("http://dummy.com/idp/" + uuid);
-        newEntry.setRecipientEntityID("http://dummy.com/sp/" + uuid);
+        newEntry.setIssuerEntityID("http://example.org/idp/" + uuid);
+        newEntry.setRecipientEntityID("http://example.org/sp/" + uuid);
         newEntry.setSourceSystemId("dummy");
         newEntry.setPrincipalName("dummy");
         newEntry.setCreationTime(Instant.now());
@@ -889,7 +889,7 @@ public class JDBCPairwiseIdStore extends AbstractInitializableComponent implemen
 
         try (final ConnectionWithLock conn = new ConnectionWithLock(true, true)) {
             final PreparedStatement statement = conn.prepareStatement(deleteSQL);
-            statement.setString(1, "http://dummy.com/idp/" + uuid);
+            statement.setString(1, "http://example.org/idp/" + uuid);
             statement.executeUpdate();
         }
         

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


More information about the commits mailing list