[java-identity-provider] branch main updated: IDP-2025 Transitory errors on Windows V5 nightly builds

Daniel Fisher dfisher at vt.edu
Wed Oct 26 14:27:59 UTC 2022


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

dfisher pushed a commit to branch main
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=323ecccaae29060d429663b30ff90ea484a3565e

The following commit(s) were added to refs/heads/main by this push:
     new 323ecccaa IDP-2025 Transitory errors on Windows V5 nightly builds
323ecccaa is described below

commit 323ecccaae29060d429663b30ff90ea484a3565e
Author: Daniel Fisher <dfisher at vt.edu>
AuthorDate: Wed Oct 26 10:21:26 2022 -0400

    IDP-2025 Transitory errors on Windows V5 nightly builds
    
    https://shibboleth.atlassian.net/browse/IDP-2025
    
    Listen for connections only on localhost.
---
 idp-conf/src/test/java/net/shibboleth/idp/test/InMemoryDirectory.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/idp-conf/src/test/java/net/shibboleth/idp/test/InMemoryDirectory.java b/idp-conf/src/test/java/net/shibboleth/idp/test/InMemoryDirectory.java
index baefa4766..04d2a613f 100644
--- a/idp-conf/src/test/java/net/shibboleth/idp/test/InMemoryDirectory.java
+++ b/idp-conf/src/test/java/net/shibboleth/idp/test/InMemoryDirectory.java
@@ -18,6 +18,7 @@
 package net.shibboleth.idp.test;
 
 import java.io.IOException;
+import java.net.InetAddress;
 import java.security.GeneralSecurityException;
 import java.security.KeyStore;
 
@@ -71,7 +72,8 @@ public class InMemoryDirectory {
                 CredentialConfigFactory.createKeyStoreCredentialConfig(ks, ksPass).createSSLContextInitializer();
             final SSLUtil sslUtil = new SSLUtil(sslInit.getKeyManagers(), sslInit.getTrustManagers());
             config.setListenerConfigs(
-                InMemoryListenerConfig.createLDAPConfig("default", null, port, sslUtil.createSSLSocketFactory()));
+                InMemoryListenerConfig.createLDAPConfig(
+                    "default", InetAddress.getByName("localhost"), port, sslUtil.createSSLSocketFactory()));
         } catch (final GeneralSecurityException e) {
             throw new IOException("Error reading keystore", e);
         }

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


More information about the commits mailing list