[java-opensaml] branch main updated: IDP-2025 Transitory errors on Windows V5 nightly builds
Daniel Fisher
dfisher at vt.edu
Wed Oct 26 14:27:49 UTC 2022
This is an automated email from the git hooks/post-receive script.
dfisher pushed a commit to branch main
in repository java-opensaml.
View the commit online:
http://git.shibboleth.net/view/?p=java-opensaml.git;a=commit;h=a617d25bf819e61682147d09539c853205ea1176
The following commit(s) were added to refs/heads/main by this push:
new a617d25bf IDP-2025 Transitory errors on Windows V5 nightly builds
a617d25bf is described below
commit a617d25bf819e61682147d09539c853205ea1176
Author: Daniel Fisher <dfisher at vt.edu>
AuthorDate: Wed Oct 26 10:17:35 2022 -0400
IDP-2025 Transitory errors on Windows V5 nightly builds
https://shibboleth.atlassian.net/browse/IDP-2025
Listen for connections only on localhost.
---
.../java/org/opensaml/security/trust/impl/InMemoryDirectory.java | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/opensaml-security-impl/src/test/java/org/opensaml/security/trust/impl/InMemoryDirectory.java b/opensaml-security-impl/src/test/java/org/opensaml/security/trust/impl/InMemoryDirectory.java
index 4665a4830..faea1775a 100644
--- a/opensaml-security-impl/src/test/java/org/opensaml/security/trust/impl/InMemoryDirectory.java
+++ b/opensaml-security-impl/src/test/java/org/opensaml/security/trust/impl/InMemoryDirectory.java
@@ -20,6 +20,7 @@ package org.opensaml.security.trust.impl;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
+import java.net.InetAddress;
import java.security.GeneralSecurityException;
import javax.annotation.Nonnull;
@@ -59,8 +60,9 @@ public class InMemoryDirectory {
try {
final SSLUtil sslUtil =
new SSLUtil(new KeyStoreKeyManager(keystore, "changeit".toCharArray()), null);
- config.setListenerConfigs(InMemoryListenerConfig.createLDAPConfig("default", null, 10389,
- sslUtil.createSSLSocketFactory()));
+ config.setListenerConfigs(
+ InMemoryListenerConfig.createLDAPConfig(
+ "default", InetAddress.getByName("localhost"), 10389, sslUtil.createSSLSocketFactory()));
} catch (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