public class Options
extends com.cleo.security.encryption.ConfigEncryption
implements java.lang.Cloneable, com.cleo.clone.LexCloneable, com.cleo.lexicom.roots.ICheckPaths
ILexiCom.getOptions().| Modifier and Type | Class and Description |
|---|---|
class |
Options.DBConnection
Database connection configuration (VLTrader and Harmony only)
|
| Modifier and Type | Field and Description |
|---|---|
static long |
ADMIN_USERS_AUTH_TOKEN_EXPIRATION_DEFAULT |
static long |
ADMIN_USERS_AUTH_TOKEN_EXPIRATION_MIN |
static java.lang.String |
AdminUsersAuthTokenExpiration
Other property - Authentication tokens issued to admin users expire after this interval
|
static java.lang.String |
ClientSSHFTPCipherPattern
Other properties - client ssh ftp properties
|
static java.lang.String |
ClientSSHFTPKexPattern |
static java.lang.String |
ClientSSHFTPMacPattern |
static java.lang.String |
ClientSSHFTPPublicKeyPattern |
static java.lang.String |
ClusterNetworkNotFullyReachable
Other property - If true will keep elasticsearch from trying to replicate across the cluster
|
static int |
CorePoolSize |
static java.lang.String |
DEFAULT_WEB_THEME
Default web theme
|
static java.lang.String |
DISABLE_ANONYMOUS_ACCESS_TOKENS_IN_PORTAL_DEFAULT |
static java.lang.String |
DisableAnonymousAccessTokensInPortal
Other property - Disables generation and use of links that can be used to access files/folders in Portal without an authenticated user.
|
static java.lang.String |
DisableUnifyInPortal
Other property - Disable Unify In Portal
|
static java.lang.String |
DocumentDBHealthCheckRetryAttempts
Other property - Number of consecutive health checks that must fail before a document db restart is attempted
|
static java.lang.String |
DocumentDBMaximumResultWindow
Other property - Maximum value of from + size for searches to a document db index
|
static java.lang.String |
DocumentDBQueryMaximumTotalHits
Other property - Maximum query total hits for the document db
|
static java.lang.String |
DocumentDBQueryPageSize
Other property - Maximum query page size for the document db
|
static java.lang.String |
EmailAndExecuteOnResolution
Other properties - email notification tuning
|
static java.lang.String |
EmailLocalAndPartnerActivationNotifications |
static java.lang.String |
HighPriorityTransfersPercentageAvailableBandwidth
Other property - Percentage of the detected available bandwidth that is allotted to transfers marked as high priority.
|
static java.lang.String |
LDAPSSLMaximumProtocolVersion |
static java.lang.String |
MaximumNumberOfConcurrentUsers
Other property - Maximum number of concurrent web UI users
|
static java.lang.String |
MaximumNumberOfTriggerEventThreads
Other property - Maximum number of Trigger Event execution Thread Pool Threads
|
static java.lang.String |
MaximumTriggerPersistorFileSize
Other property - Maximum size of the trigger persistant file.
|
static java.lang.String |
NOSSL |
static long |
PORTAL_ANON_DL_TOKEN_EXPIRATION_DEFAULT |
static java.lang.String |
PORTAL_APPLICATION_NAME_DEFAULT |
static long |
PORTAL_AUTH_TOKEN_EXPIRATION_DEFAULT |
static long |
PORTAL_AUTH_TOKEN_EXPIRATION_MIN |
static java.lang.String |
PORTAL_CUSTOM_FORGOT_PASSWORD_URL_DEFAULT |
static int |
PORTAL_IDLE_TIMEOUT_DEFAULT |
static long |
PORTAL_SELF_REGISTRATION_EXPIRATION_DEFAULT |
static long |
PORTAL_SELF_REGISTRATION_EXPIRATION_MIN |
static long |
PORTAL_SHARING_DATA_CACHE_EXPIRATION_DEFAULT |
static long |
PORTAL_TWO_FACTOR_AUTHENTICATION_REGISTRATION_EXPIRATION_DEFAULT |
static long |
PORTAL_TWO_FACTOR_AUTHENTICATION_REGISTRATION_EXPIRATION_MIN |
static java.lang.String |
PortalAnonymousDLTokenExpiration
Other property - Portal anonymous download token expiration.
|
static java.lang.String |
PortalApplicationName
Other property - Application name that can be configured when the default 'Cleo Portal' is not appropriate.
|
static java.lang.String |
PortalAuthTokenExpiration
Other property - Authentication tokens issued to Portal users expire upon this duration after creation
|
static java.lang.String |
PortalCustomForgotPasswordURL
Other property - Portal forgot password redirect URL
|
static java.lang.String |
PortalForgotPasswordLinkExpiration
Other property - Portal forgot password links received in email expire upon this duration after creation
|
static java.lang.String |
PortalIdleTimeout
Other property - Idle timeout setting for Portal
|
static java.lang.String |
PortalSelfRegistrationLinkExpiration
Other property - Portal self registration links received in email expire upon this duration after creation
|
static java.lang.String |
PortalSharingDataCacheExpiration
Other property - Portal sharing data cache expiration
|
static java.lang.String |
PortalTwoFactorAuthenticationLinkExpiration
Other property - Portal two-factor authentication registration links received in email expire upon this duration after creation
|
static java.lang.String |
RunSchedulerAutomaticallyAtStartup
Other property - Indicates whether the schedule should automatically startup at system startup
|
static java.lang.String |
SchedulerTimeoutDirOps |
static java.lang.String |
SchedulerTimeoutFileOps
Other properties - timeouts and wait time for slow performing shares
|
static java.lang.String |
SchedulerWaitTimeForNonresponsiveFileSystems |
static java.lang.String |
SSL30 |
static java.lang.String |
TLS10 |
static java.lang.String |
TLS11 |
static java.lang.String |
TLS12 |
static java.lang.String |
TLS13 |
static int |
TRANSFER_LOG_DATABASE
Database transfer logging (VLTrader and Harmony only)
|
static int |
TRANSFER_LOG_OFF
No transfer logging (VLTrader and Harmony only)
|
static int |
TRANSFER_LOG_XML
XML transfer logging (VLTrader and Harmony only)
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowPasswordRuleOverride()
Returns whether password rules can be overridden in user hosts
|
Options.DBConnection |
findDBConnection(java.lang.String connectionStr)
Find the configured database connection (VLTrader and Harmony only)
|
java.lang.String |
getBrowserEditPassword()
Returns the hashed web UI edit password
|
java.lang.String |
getBrowserViewOnlyPassword()
Returns the hashed web UI view-only password
|
java.lang.String |
getInbox()
testClass
Get the default system payload inbox
|
int |
getIntegratedWebUITimeout()
Get the integrated web UI timeout
|
java.lang.String |
getInterval(java.lang.String name)
Get one of the interval properties
|
java.lang.String |
getOther(java.lang.String name)
Get one of the other properties
|
java.lang.String |
getOutbox()
Get the default system payload outbox
|
java.util.ArrayList<com.cleo.lexicom.roots.ICheckPaths.CheckPath> |
getPathsToCheck() |
java.lang.String |
getReceivedbox()
Get the default system payload receivedbox
The receivedbox is automatically populated with a copy of any payload received
|
java.lang.String |
getSentbox()
Get the default system payload sentbox
The sentbox is automatically populated with a copy of any payload sent
|
static java.lang.String[] |
getTransferLogDatabaseDDL(java.lang.String dbConnectionStr,
boolean edi,
boolean payload)
Get the transfer log database DDL statements
|
int |
getTransferLogging()
Get transfer logging mode (VLTrader and Harmony only)
|
Options.DBConnection |
getTransferLoggingDBConnection()
Get transfer logging database connection configuration (VLTrader and Harmony only)
|
java.lang.String |
getTransferLoggingDBConnectionStr()
Get transfer logging database connection string (VLTrader and Harmony only)
|
java.util.ArrayList<java.lang.String> |
getUnauthorizedPaths()
Records all unauthorized paths for Options.
|
java.lang.String |
getWebProductTitle()
Get the web UI product title
|
java.lang.String |
getWebTheme()
Returns the current web theme
|
boolean |
isBrowserViewOnlyDefaultMode()
Returns whether the web UI default mode is view-only
|
boolean |
isCleoSupportVisible()
Indicates whether direct Cleo support links/buttons are hidden
|
boolean |
isConnectorDebug(java.lang.String[] schemeNames) |
boolean |
isSoftwareUpdateEnabled()
Indicates whether the VersaLex software update feature is enabled
|
Options.DBConnection |
newDBConnection()
Instantiate a new database connection configuration
|
void |
removeDBConnection(java.lang.String connectionStr)
Remove the configured database connection (VLTrader and Harmony only)
|
void |
save()
Save the current settings; passwords encrypted when saved
|
void |
setBrowserEditPassword(java.lang.String browserEditPassword)
Set the web UI edit password
|
void |
setBrowserViewOnlyDefaultMode(boolean browserViewOnlyDefaultMode)
Set whether the web UI default mode is view-only
|
void |
setBrowserViewOnlyPassword(java.lang.String browserViewOnlyPassword)
Set the web UI view-only password
|
void |
setCleoSupportVisible(boolean cleoSupportVisible)
Show/hide Cleo support request link and support bundle send button
|
void |
setInbox(java.lang.String inbox)
Set the default system payload inbox
|
void |
setIntegratedWebUITimeout(int integratedWebUITimeout)
Set the integrated web UI timeout
|
void |
setInterval(java.lang.String name,
java.lang.String value)
Set one of the interval properties
|
void |
setOther(java.lang.String name,
java.lang.String value)
Set one of the other properties
|
void |
setOutbox(java.lang.String outbox)
Set the default system payload outbox
|
void |
setReceivedbox(java.lang.String receivedbox)
Set the default system payload receivedbox
The receivedbox is automatically populated with a copy of any payload received
|
void |
setSentbox(java.lang.String sentbox)
Set the default system payload sentbox
The sentbox is automatically populated with a copy of any payload sent
|
void |
setSoftwareUpdateEnabled(boolean softwareUpdateEnabled)
Enable/disable the VersaLex software update feature
|
void |
setTransferLogging(int transferLogging)
Set transfer logging mode (VLTrader and Harmony only)
|
void |
setTransferLoggingDBConnectionStr(java.lang.String transferLoggingDBConnectionStr)
Set transfer logging database connection string (VLTrader and Harmony only)
|
void |
setWebProductTitle(java.lang.String webProductTitle)
Override the default web UI product title (e.g.
|
void |
setWebTheme(java.lang.String webTheme)
Set the theme for the web UI
|
java.lang.String |
toString() |
void |
updateDBConnection(Options.DBConnection dbconnection)
Update (or add) the database connection configuration (VLTrader and Harmony only)
|
public static final int TRANSFER_LOG_OFF
public static final int TRANSFER_LOG_DATABASE
public static final int TRANSFER_LOG_XML
public static final java.lang.String DEFAULT_WEB_THEME
public static final java.lang.String MaximumNumberOfConcurrentUsers
public static final java.lang.String HighPriorityTransfersPercentageAvailableBandwidth
public static final java.lang.String MaximumNumberOfTriggerEventThreads
public static final int CorePoolSize
public static final java.lang.String MaximumTriggerPersistorFileSize
public static final java.lang.String ClusterNetworkNotFullyReachable
public static final java.lang.String PortalApplicationName
public static final java.lang.String PORTAL_APPLICATION_NAME_DEFAULT
public static final java.lang.String PortalForgotPasswordLinkExpiration
public static final java.lang.String PortalCustomForgotPasswordURL
public static final java.lang.String PORTAL_CUSTOM_FORGOT_PASSWORD_URL_DEFAULT
public static final java.lang.String PortalAuthTokenExpiration
public static final long PORTAL_AUTH_TOKEN_EXPIRATION_DEFAULT
public static final long PORTAL_AUTH_TOKEN_EXPIRATION_MIN
public static final java.lang.String PortalSelfRegistrationLinkExpiration
public static final long PORTAL_SELF_REGISTRATION_EXPIRATION_DEFAULT
public static final long PORTAL_SELF_REGISTRATION_EXPIRATION_MIN
public static final java.lang.String PortalTwoFactorAuthenticationLinkExpiration
public static final long PORTAL_TWO_FACTOR_AUTHENTICATION_REGISTRATION_EXPIRATION_DEFAULT
public static final long PORTAL_TWO_FACTOR_AUTHENTICATION_REGISTRATION_EXPIRATION_MIN
public static final java.lang.String PortalAnonymousDLTokenExpiration
public static final long PORTAL_ANON_DL_TOKEN_EXPIRATION_DEFAULT
public static final java.lang.String DisableAnonymousAccessTokensInPortal
public static final java.lang.String DISABLE_ANONYMOUS_ACCESS_TOKENS_IN_PORTAL_DEFAULT
public static final java.lang.String PortalSharingDataCacheExpiration
public static final long PORTAL_SHARING_DATA_CACHE_EXPIRATION_DEFAULT
public static final java.lang.String PortalIdleTimeout
public static final int PORTAL_IDLE_TIMEOUT_DEFAULT
public static final java.lang.String DisableUnifyInPortal
public static final java.lang.String AdminUsersAuthTokenExpiration
public static final long ADMIN_USERS_AUTH_TOKEN_EXPIRATION_DEFAULT
public static final long ADMIN_USERS_AUTH_TOKEN_EXPIRATION_MIN
public static final java.lang.String DocumentDBQueryPageSize
public static final java.lang.String DocumentDBQueryMaximumTotalHits
public static final java.lang.String DocumentDBMaximumResultWindow
public static final java.lang.String DocumentDBHealthCheckRetryAttempts
public static final java.lang.String RunSchedulerAutomaticallyAtStartup
public static final java.lang.String LDAPSSLMaximumProtocolVersion
public static final java.lang.String SchedulerTimeoutFileOps
public static final java.lang.String SchedulerTimeoutDirOps
public static final java.lang.String SchedulerWaitTimeForNonresponsiveFileSystems
public static final java.lang.String EmailAndExecuteOnResolution
public static final java.lang.String EmailLocalAndPartnerActivationNotifications
public static final java.lang.String ClientSSHFTPCipherPattern
public static final java.lang.String ClientSSHFTPMacPattern
public static final java.lang.String ClientSSHFTPKexPattern
public static final java.lang.String ClientSSHFTPPublicKeyPattern
public static final java.lang.String NOSSL
public static final java.lang.String SSL30
public static final java.lang.String TLS10
public static final java.lang.String TLS11
public static final java.lang.String TLS12
public static final java.lang.String TLS13
public java.lang.String getInbox()
public java.lang.String getOutbox()
public java.lang.String getSentbox()
The sentbox is automatically populated with a copy of any payload sent
public java.lang.String getReceivedbox()
The receivedbox is automatically populated with a copy of any payload received
public boolean isConnectorDebug(java.lang.String[] schemeNames)
public int getTransferLogging()
public java.lang.String getTransferLoggingDBConnectionStr()
public Options.DBConnection getTransferLoggingDBConnection()
public Options.DBConnection findDBConnection(java.lang.String connectionStr)
connectionStr - the database connection stringpublic void removeDBConnection(java.lang.String connectionStr)
connectionStr - the database connection stringpublic java.lang.String getBrowserViewOnlyPassword()
public java.lang.String getBrowserEditPassword()
public boolean isBrowserViewOnlyDefaultMode()
public java.lang.String getOther(java.lang.String name)
name - property name (e.g. MaximumNumberOfConcurrentUsers)public java.lang.String getInterval(java.lang.String name)
name - property name (e.g. MaximumNumberOfConcurrentUsers)public boolean allowPasswordRuleOverride()
public java.lang.String getWebTheme()
public boolean isSoftwareUpdateEnabled()
public boolean isCleoSupportVisible()
public java.lang.String getWebProductTitle()
public int getIntegratedWebUITimeout()
public void setInbox(java.lang.String inbox)
inbox - default inbox directory path (cannot be null)public void setOutbox(java.lang.String outbox)
outbox - default outbox directory path (cannot be null)public void setSentbox(java.lang.String sentbox)
The sentbox is automatically populated with a copy of any payload sent
sentbox - default sentbox directory path (can be null)public void setReceivedbox(java.lang.String receivedbox)
The receivedbox is automatically populated with a copy of any payload received
receivedbox - default receivedbox directory path (can be null)public void setTransferLogging(int transferLogging)
transferLogging - either TRANSFER_LOG_OFF, TRANSFER_LOG_DATABASE, or TRANSFER_LOG_XMLpublic void setTransferLoggingDBConnectionStr(java.lang.String transferLoggingDBConnectionStr)
transferLoggingDBConnectionStr - the transfer logging database connection stringpublic static java.lang.String[] getTransferLogDatabaseDDL(java.lang.String dbConnectionStr,
boolean edi,
boolean payload)
throws java.lang.Exception
dbConnectionStr - the database connection stringedi - true to include database EDI logging DDL statementspayload - true to include database payload DDL statementsjava.lang.Exceptionpublic void updateDBConnection(Options.DBConnection dbconnection)
dbconnection - the database connectionpublic void setBrowserViewOnlyPassword(java.lang.String browserViewOnlyPassword)
browserViewOnlyPassword - the web UI view-only passwordpublic void setBrowserEditPassword(java.lang.String browserEditPassword)
browserEditPassword - the web UI edit passwordpublic void setBrowserViewOnlyDefaultMode(boolean browserViewOnlyDefaultMode)
browserViewOnlyDefaultMode - true if the web UI default mode is view-onlypublic void setOther(java.lang.String name,
java.lang.String value)
throws java.lang.Exception
name - property name (e.g. MaximumNumberOfConcurrentUsers)value - appropriate property valuejava.lang.Exceptionpublic void setInterval(java.lang.String name,
java.lang.String value)
throws java.lang.Exception
name - property namevalue - appropriate property valuejava.lang.Exceptionpublic void setWebTheme(java.lang.String webTheme)
throws java.lang.Exception
webTheme - either DEFAULT_WEB_THEME or some custom settingjava.lang.Exceptionpublic void setSoftwareUpdateEnabled(boolean softwareUpdateEnabled)
softwareUpdateEnabled - false if the software update feature should be disabledpublic void setCleoSupportVisible(boolean cleoSupportVisible)
cleoSupportVisible - false if the direct Cleo support links/buttons should be hiddenpublic void setWebProductTitle(java.lang.String webProductTitle)
webProductTitle - the new web UI product title (can be an empty string)public void setIntegratedWebUITimeout(int integratedWebUITimeout)
integratedWebUITimeout - the integrated web UI timeout (minutes)public void save()
throws java.lang.Exception
java.lang.Exceptionpublic Options.DBConnection newDBConnection()
public java.util.ArrayList<com.cleo.lexicom.roots.ICheckPaths.CheckPath> getPathsToCheck()
getPathsToCheck in interface com.cleo.lexicom.roots.ICheckPathspublic java.util.ArrayList<java.lang.String> getUnauthorizedPaths()
public java.lang.String toString()
toString in class java.lang.Object