|
@@ -283,14 +283,12 @@ public class ConfigConstants {
|
|
}
|
|
}
|
|
|
|
|
|
public static void setTrustHostValue(String trustHost) {
|
|
public static void setTrustHostValue(String trustHost) {
|
|
- System.err.println("trustHost---> " + trustHost);
|
|
|
|
CopyOnWriteArraySet<String> trustHostSet;
|
|
CopyOnWriteArraySet<String> trustHostSet;
|
|
if (DEFAULT_TRUST_HOST.equalsIgnoreCase(trustHost)) {
|
|
if (DEFAULT_TRUST_HOST.equalsIgnoreCase(trustHost)) {
|
|
trustHostSet = new CopyOnWriteArraySet<>();
|
|
trustHostSet = new CopyOnWriteArraySet<>();
|
|
} else {
|
|
} else {
|
|
String[] trustHostArray = trustHost.toLowerCase().split(",");
|
|
String[] trustHostArray = trustHost.toLowerCase().split(",");
|
|
trustHostSet = new CopyOnWriteArraySet<>(Arrays.asList(trustHostArray));
|
|
trustHostSet = new CopyOnWriteArraySet<>(Arrays.asList(trustHostArray));
|
|
- System.err.println("trustHostSet---> " + trustHostSet.toString());
|
|
|
|
setTrustHostSet(trustHostSet);
|
|
setTrustHostSet(trustHostSet);
|
|
}
|
|
}
|
|
setTrustHostSet(trustHostSet);
|
|
setTrustHostSet(trustHostSet);
|