commit | a70e317dd3edb97d55d1b51fef127069ae250ff2 | [log] [tgz] |
---|---|---|
author | Michael Blow <mblow@apache.org> | Wed Aug 02 11:17:45 2023 -0400 |
committer | Michael Blow <mblow@apache.org> | Wed Aug 02 16:53:48 2023 +0000 |
tree | 002b4ec64e69614a528551d6793624d46f25dfc6 | |
parent | c693439730260e769d28fbc08e3ae640f65a4027 [diff] |
[NO ISSUE][*DB] Respect RMI bind address when SSL is not enabled Change-Id: Ibd6aa95b674cf91fc0cbc264ce7dde2a09ea5e7c Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/17688 Reviewed-by: Michael Blow <mblow@apache.org> Tested-by: Michael Blow <mblow@apache.org>
diff --git a/asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/RMIServerFactory.java b/asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/RMIServerFactory.java index 0128a87..6a0edc0 100644 --- a/asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/RMIServerFactory.java +++ b/asterixdb/asterix-metadata/src/main/java/org/apache/asterix/metadata/RMIServerFactory.java
@@ -39,10 +39,7 @@ } public static RMIServerSocketFactory getSocketFactory(INetworkSecurityManager securityManager) { - if (securityManager.getConfiguration().isSslEnabled()) { - return new RMIServerFactory(securityManager); - } - return null; + return new RMIServerFactory(securityManager); } @Override