Uses of Class
org.forgerock.opendj.setup.model.Setup
Package
Description
Provides support for an embedded directory server.
Contains code of the opendj setup model.
-
Uses of Setup in org.forgerock.opendj.server.embedded
Modifier and TypeMethodDescriptionEmbeddedDirectoryServer.initializeConfiguration()
Creates a directory server setup object pre-initialized with configuration and connection parameters provided while creating this embedded directory server and returns the setup object to allow further configuration actions such as backend creation or profile setup. -
Uses of Setup in org.forgerock.opendj.setup.model
Modifier and TypeMethodDescriptionSetup.adminPort
(int adminPort) Specifies the administration port of the instance to setup.Setup.bootstrapReplicationServers
(com.forgerock.opendj.util.HostPort... bootstrapReplicationServers) Specifies the addresses of replication servers to which the server will try to connect at startup time.Setup.bootstrapReplicationServers
(String... bootstrapReplicationServers) Specifies the addresses of replication servers to which the server will try to connect at startup time.Setup.bootstrapReplicationServers
(Collection<com.forgerock.opendj.util.HostPort> bootstrapReplicationServers) Specifies the addresses of replication servers to which the server will try to connect at startup time.Setup.checkPortAvailability
(boolean checkPortAvailability) Specifies whether the port availability should be verified during the validation phase.Setup.clearBootstrapReplicationServers()
Removes allbootstrapReplicationServers(HostPort...)
bootstrap replication servers} registered in thisSetup
.Setup.clearProfiles()
Setup.console
(SetupConsole console) Specifies theSetupConsole
which be used to print information issued during setup.Setup.deploymentId
(String key, String password, Consumer<LocalizableMessage> warningHandler) Specifies theDeploymentId
which should be used for securing the deployment.Setup.deploymentId
(DeploymentId deploymentId) Specifies theDeploymentId
which should be used for securing the deployment.Setup.disableHttpConnectionHandler()
Disables the HTTP connection handler.Disables the HTTPS connection handler.Setup.disableLdapConnectionHandler()
Disables the LDAP connection handler.Disables the LDAPS connection handler.Setup.disableMonitorUserCreation()
Specifies that a monitor user must not be created in the DS server to be setup.Setup.enableCloudBackups
(boolean enableCloudBackups) Specifies whether the OpenDJ Cloud Backup feature should be enabled.Setup.enableStartTls
(boolean enableStartTls) Specifies whether start TLS should be enabled on the LDAP connection handler.Setup.enableWindowsService
(boolean enableWindowsService) Specifies whether the OpenDJ windows service should be enabled.Setup.fullyQualifiedHostName
(String fullyQualifiedHostName) Specifies the fully qualified hostname of the server to setup.Setup.httpPort
(int httpPort) Specifies that the http connection handler must be enabled and listening on the provided port.Setup.httpSecurePort
(int httpSecurePort) Specifies that the https connection handler must be enabled and listening on the provided port.Setup.installDirectory
(String installDirectory) Specifies the path of the OpenDJ archive to use to setup the server instance.Setup.installDirectory
(Path installPath) Specifies the path of the OpenDJ archive to use to setup the server instance.Setup.instanceDirectory
(String instanceDirectory) Specifies the path of the OpenDJ instance to setup.Setup.instanceDirectory
(Path instancePath) Specifies the path of the opendj instance to setup.Setup.ldapPort
(int ldapPort) Specifies that the ldap connection handler must be enabled and listening on the provided port.Setup.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.Setup.ldapSecurePort
(int ldapSecurePort) Specifies that the ldaps connection handler must be enabled and listening on the provided port.Setup.monitorUserDn
(String monitorUserDn) Specifies the DN of the monitor user, having access to monitor information.Setup.monitorUserDn
(Dn monitorUserDn) Specifies the DN of the monitor user, having access to monitor information.Setup.monitorUserPassword
(String monitorUserPassword) Specifies the password of the monitor user.static Setup
Setup.newSetup()
Creates a newSetup
object to start adding setup parameters.Setup.replicationPort
(int replicationPort) Specifies that the instance to setup will be configured with a replication server listening on the provided port number.Setup.rootUserDn
(String rootUserDn) Specifies the user root distinguish name of the instance to setup.Setup.rootUserDn
(Dn rootUserDn) Specifies the user root distinguish name of the instance to setup.Setup.rootUserPassword
(String rootUserPassword) Specifies the user root password of the instance to setup.Specifies the server ID.Setup.startServer
(boolean startServer) Specifies whether the server should start during the setup process.Setup.useDeploymentIdForTls()
Specifies that peer-to-peer communications will be secured with certificates derived from the deployment ID.Setup.useExistingCertificatesForTls
(Security.KeyStoreModel keyStore, Security.TrustStoreModel trustStore) Specifies that peer-to-peer communications will be secured with certificates located in the user-provided key and trust store.Setup.withProfiles
(Collection<Profile> profilesToAdd) Specifies the setup profiles which will be run during the setup.Setup.withProfiles
(Profile... profiles) Specifies the setup profiles which will be run during the setup.