fixes port not recognized when setting hostname and port without proxy

Closes #10627

Closes #10331
This commit is contained in:
Dominik Guhr 2022-03-11 10:45:36 +01:00 committed by Pedro Igor
parent 53bbf307b3
commit b82b0000bc

View file

@ -209,7 +209,7 @@ public final class DefaultHostnameProvider implements HostnameProvider, Hostname
}
defaultPath = config.get("path");
noProxy = Configuration.getConfigValue("kc.proxy").getValue().equals("none");
noProxy = Configuration.getConfigValue("kc.proxy").getValue().equals("false");
defaultTlsPort = Integer.parseInt(Configuration.getConfigValue("kc.https-port").getValue());
adminHostName = config.get("admin");
strictBackChannel = config.getBoolean("strict-backchannel", false);