public class ListenerSettings extends Object
Constructor and Description |
---|
ListenerSettings()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getAdminPort()
Returns the administration connector port.
|
org.forgerock.opendj.server.setup.model.Certificate |
getCertificate()
Returns the certificate linked to this setup.
|
String |
getHostName()
Returns the host name.
|
int |
getHTTPPort()
Returns the value of the HTTP connection handler port.
|
int |
getJMXPort()
Returns the JMX's port value.
|
int |
getLdapPort()
Returns the value of the LDAP port.
|
int |
getLdapsPort()
Return the LDAPs port.
|
String |
getPassword()
Returns the password linked to this root user DN.
|
File |
getPasswordFile()
The file containing the password for the initial root user for the directory server.
|
String |
getRootUserDN()
Returns the root user DN.
|
int |
getSNMPPort()
Returns the value of the port used by SNMP.
|
int |
getSSLPortNumber()
Returns the port number which is used with SSL.
|
boolean |
isHTTPConnectionHandlerEnabled()
Returns
true if the HTTP connection handler is enabled. |
boolean |
isJMXConnectionHandlerEnabled()
Returns
true if the JMX connection handler is enabled. |
boolean |
isSNMPConnectionHandlerEnabled()
Returns
true if the SNMP connection handler is enabled. |
boolean |
isSSLEnabled()
Returns
true is SSL is enabled. |
boolean |
isTLSEnabled()
Returns
true is TLS is enabled. |
void |
setAdminPort(int adminPort)
Sets the administration connector 's port.
|
void |
setCertificate(org.forgerock.opendj.server.setup.model.Certificate certificate)
Sets the certificate used in this setup.
|
void |
setHostName(String hostName)
Sets the host name of the machine.
|
void |
setHTTPConnectionHandlerEnabled(boolean isHTTPConnectionHandlerEnabled)
Sets the status of the HTTP connection handler.
|
void |
setHTTPPort(int httpPort)
Sets the value of the port which is going to be used bu the HTTP connection handler.
|
void |
setJMXConnectionHandlerEnabled(boolean isJMXConnectionHandlerEnabled)
Sets the status of the JMX connection handler.
|
void |
setJMXPort(int jmxPort)
Sets the JMX port's value.
|
void |
setLdapPort(int ldapPort)
Sets the value of the LDAP port.
|
void |
setLdapsPort(int ldapsPort)
Sets the LDAPs port value.
|
void |
setPassword(String password)
Sets the user root's password.
|
void |
setPasswordFile(File pwdFile)
Sets the file containing the password for the initial root user for the directory server.
|
void |
setRootUserDN(String rootUserDN)
Sets the root user DN.
|
void |
setSNMPConnectionHandlerEnabled(boolean isSNMPConnectionHandlerEnabled)
Sets the status of the HTTP connection handler.
|
void |
setSNMPPort(int snmpPort)
Sets the value of the port used by SNMP.
|
void |
setSSLEnabled(boolean isSSLEnabled)
Sets a flag is SSL is enabled.
|
void |
setSSLPortNumber(int sslPortNumber)
Sets the SSL's port number.
|
void |
setTLSEnabled(boolean isTLSEnabled)
Sets a flag is TLS is enabled.
|
public ListenerSettings()
public String getHostName()
public void setHostName(String hostName)
hostName
- The host name of the current machine.public int getLdapPort()
public void setLdapPort(int ldapPort)
ldapPort
- The LDAP port's value to set.public int getLdapsPort()
public void setLdapsPort(int ldapsPort)
ldapsPort
- The LDAPs port's value to set.public int getAdminPort()
public void setAdminPort(int adminPort)
adminPort
- The administration connector.public int getJMXPort()
public void setJMXPort(int jmxPort)
jmxPort
- The JMX port's value.public boolean isJMXConnectionHandlerEnabled()
true
if the JMX connection handler is enabled.true
if the JMX connection handler is enabled.public void setJMXConnectionHandlerEnabled(boolean isJMXConnectionHandlerEnabled)
isJMXConnectionHandlerEnabled
- true} if the JMX connection handler is enabled.public int getHTTPPort()
public void setHTTPPort(int httpPort)
httpPort
- The value of the HTTP port.public boolean isHTTPConnectionHandlerEnabled()
true
if the HTTP connection handler is enabled.true
if the HTTP connection handler is enabled.public void setHTTPConnectionHandlerEnabled(boolean isHTTPConnectionHandlerEnabled)
isHTTPConnectionHandlerEnabled
- true} if the HTTP connection handler is enabled.public int getSNMPPort()
public void setSNMPPort(int snmpPort)
snmpPort
- The value of the port used by SNMP.public boolean isSNMPConnectionHandlerEnabled()
true
if the SNMP connection handler is enabled.true
if the SNMP connection handler is enabled. false
otherwise.public void setSNMPConnectionHandlerEnabled(boolean isSNMPConnectionHandlerEnabled)
isSNMPConnectionHandlerEnabled
- true
if the HTTP connection handler is enabled.public String getRootUserDN()
public void setRootUserDN(String rootUserDN)
rootUserDN
- The root user DN.public String getPassword()
public void setPassword(String password)
password
- The password to set to this user root DN.public File getPasswordFile()
public void setPasswordFile(File pwdFile)
pwdFile
- The file containing the password for the initial root user for the directory server.public boolean isSSLEnabled()
true
is SSL is enabled.true
is SSL is enabled, false
otherwise.public void setSSLEnabled(boolean isSSLEnabled)
isSSLEnabled
- true
is SSL is enabled, false
otherwise.public boolean isTLSEnabled()
true
is TLS is enabled.true
is TLS is enabled, false
otherwise.public void setTLSEnabled(boolean isTLSEnabled)
isTLSEnabled
- true
is TLS is enabled, false
otherwise.public int getSSLPortNumber()
public void setSSLPortNumber(int sslPortNumber)
sslPortNumber
- The port number which should be used with SSL.public org.forgerock.opendj.server.setup.model.Certificate getCertificate()
public void setCertificate(org.forgerock.opendj.server.setup.model.Certificate certificate)
certificate
- The certificate used in this setup.Copyright © 2011-2015 ForgeRock AS. All Rights Reserved.