public class GlobalConfig extends Object
| Constructor and Description |
|---|
GlobalConfig() |
| Modifier and Type | Method and Description |
|---|---|
File |
fileInterfaceFile() |
int |
fileInterfaceInterval() |
int |
port()
Returns the port for unsecure connections.
|
void |
setFileInterfaceFile(File interfaceFile) |
void |
setFileInterfaceInterval(int fileInterfaceInterval) |
void |
setPort(int port)
Sets the port for unsecure connections.
|
void |
setSSLKeyStore(String sslKeyStore)
Sets the path to the keystore for secure connections.
|
void |
setSSLKeyStorePassword(String sslPassword)
Sets the password for the keystore for secure connections.
|
void |
setSSLPort(int sslPort)
Sets the port for secure connections.
|
void |
setUseFileInterface(boolean use) |
void |
setUseSecurityManager(boolean use)
If the builtin SecurityManager has to be used,
enable it with true.
|
void |
setUseSSL(boolean useSSL)
Activates(true)/deactivates(false) secure connections.
|
String |
sslKeyStore()
returns the path to the keystore for secure connections.
|
String |
sslKeystorePassword()
returns the password for the keystore for secure connections.
|
int |
sslPort()
returns the port for secure connections.
|
boolean |
useFileInterface() |
boolean |
useSecurityManager()
Returns true, if the builtIn SecuritsManager has to be used.
|
boolean |
useSSL()
returns true if ssl is activated, else false.
|
public int port()
public void setPort(int port)
port - public int sslPort()
public void setSSLPort(int sslPort)
sslPort - public boolean useSSL()
public void setUseSSL(boolean useSSL)
useSSL - public String sslKeyStore()
public void setSSLKeyStore(String sslKeyStore)
sslKeyStore - public String sslKeystorePassword()
public void setSSLKeyStorePassword(String sslPassword)
sslPassword - public void setUseSecurityManager(boolean use)
use - public boolean useSecurityManager()
public void setUseFileInterface(boolean use)
use - public boolean useFileInterface()
public void setFileInterfaceInterval(int fileInterfaceInterval)
fileInterfaceInterval - public int fileInterfaceInterval()
public void setFileInterfaceFile(File interfaceFile)
interfaceFile - public File fileInterfaceFile()
Copyright © 2020 Software Atelier Kamber. All rights reserved.