server: disable unauthenticated integration.api.port by default (#3504)

Set integration.api.port to (0) zero as default. CloudStack provides CloudStack API Unauthenticated Access through port 8096. It should not be open to the Internet in any case.
This commit is contained in:
Gabriel Beims Bräscher 2019-07-22 08:52:02 -03:00 committed by Rohit Yadav
parent 5d8157422d
commit 6a336f8bc1
1 changed files with 2 additions and 2 deletions

View File

@ -228,8 +228,8 @@ public class ApiServer extends ManagerBase implements HttpRequestHandler, ApiSer
private static final ConfigKey<Integer> IntegrationAPIPort = new ConfigKey<Integer>("Advanced"
, Integer.class
, "integration.api.port"
, "8096"
, "Default API port"
, "0"
, "Integration (unauthenticated) API port. To disable set it to 0 or negative."
, false
, ConfigKey.Scope.Global);
private static final ConfigKey<Long> ConcurrentSnapshotsThresholdPerHost = new ConfigKey<Long>("Advanced"