T
- The concrete type of server instancepublic abstract class FrontEndServerSetup<T extends FrontEndServerSetup<T>> extends Setup<T>
JVM_TRUST_MANAGER_PROVIDER
Constructor and Description |
---|
FrontEndServerSetup() |
Modifier and Type | Method and Description |
---|---|
T |
disableLdapConnectionHandler()
Disables the LDAP connection handler.
|
T |
disableLdapSecureConnectionHandler()
Disables the LDAPS connection handler.
|
T |
enableStartTls(boolean enableStartTls)
Specifies whether start TLS should be enabled on the LDAP connection handler.
|
T |
ldapPort(int ldapPort)
Specifies that the ldap connection handler must be enabled and listening on the provided port.
|
T |
ldapPort(int ldapPort,
boolean enableStartTls)
Specifies that the ldap connection handler must be enabled and listening on the provided port and
whether start TLS should be enabled.
|
T |
ldapSecurePort(int ldapSecurePort)
Specifies that the ldaps connection handler must be enabled and listening on the provided port.
|
adminPort, checkPortAvailability, console, disableHttpConnectionHandler, disableHttpSecureConnectionHandler, enableWindowsService, fullyQualifiedHostName, httpPort, httpSecurePort, installDirectory, installDirectory, instanceDirectory, instanceDirectory, productionModeEnabled, rootUserDn, rootUserDn, rootUserPassword, secureWith, setup, startServer
public final T ldapPort(int ldapPort, boolean enableStartTls) throws com.forgerock.opendj.cli.ArgumentException
ldapPort
- The ldap port to listenenableStartTls
- true
if startTls must be enabled on the ldap connection handlerFrontEndServerSetup
com.forgerock.opendj.cli.ArgumentException
- If the provided port number is invalid.
This exception can be throws if the port is already in use on the running machine,
this verification can be disabled using Setup.checkPortAvailability(boolean)
.public final T ldapPort(int ldapPort) throws com.forgerock.opendj.cli.ArgumentException
ldapPort
- The ldap port to listenFrontEndServerSetup
com.forgerock.opendj.cli.ArgumentException
- If the provided port number is invalid.
This exception can be thrown if the port is already in use on the running machine.
This verification can be disabled using Setup.checkPortAvailability(boolean)
.public final T enableStartTls(boolean enableStartTls)
By default, the LDAP connection handler will be disabled.
enableStartTls
- true
if startTls must be enabled on the ldap connection handlerFrontEndServerSetup
ldapPort(int, boolean)
,
ldapPort(int)
public final T disableLdapConnectionHandler()
By default, the LDAP connection handler is disabled.
FrontEndServerSetup
ldapPort(int, boolean)
public final T ldapSecurePort(int ldapSecurePort) throws com.forgerock.opendj.cli.ArgumentException
null
, the ldaps connection handler will be disabled.ldapSecurePort
- The ldaps port to listenFrontEndServerSetup
com.forgerock.opendj.cli.ArgumentException
- If the provided port number is invalid.
This exception can be throws if the port is already in use on the running machine,
this verification can be disabled using Setup.checkPortAvailability(boolean)
.public final T disableLdapSecureConnectionHandler()
By default, the LDAPS connection handler is disabled
FrontEndServerSetup
ldapSecurePort(int)
Copyright © 2010–2017 ForgeRock AS. All rights reserved.