public class WebConfiguration extends Configuration
| Modifier and Type | Field and Description |
|---|---|
static long |
DEFAULT_HTTP_SESSION_TTL_MS
Default HTTP session time to live value 30 min
|
static boolean |
DEFAULT_INCLUDE_SERVER_PORT
Default include server ports in HTTP/S headers
|
static java.lang.String |
DEFAULT_THEME
Default theme name
|
| Constructor and Description |
|---|
WebConfiguration()
This constructor is used by serialization sub-system
and is not intended to use directly in client code.
|
WebConfiguration(boolean httpEnabled,
java.lang.String httpAddress,
int httpPort,
boolean httpsEnabled,
java.lang.String httpsAddress,
int httpsPort,
java.lang.String keyAlias,
boolean fipsModeRequired,
java.lang.String[] excludedCiphers,
java.lang.String[] enabledSslProtocols,
boolean lostPasswordEnabled,
boolean redirectHttp,
boolean domainVisible,
boolean domainDropdown,
java.lang.String defaultDomain,
boolean clientCertificateRequired,
java.lang.String serverName,
boolean includeServerPort,
boolean sslRenegotiationAllowed,
long httpSessionTtlMillis,
boolean captchaRequired,
com.jscape.inet.mft.management.common.StrictTransportSecurityPolicy strictTransportSecurityPolicy,
boolean autoLoginAllowed,
java.lang.String theme,
int backlog)
Creates a new configuration instance.
|
WebConfiguration(WebConfiguration that) |
| Modifier and Type | Method and Description |
|---|---|
WebConfiguration |
copy() |
boolean |
equals(java.lang.Object o) |
int |
getBacklog() |
java.lang.String |
getDefaultDomain()
Returns default domain.
|
java.lang.String[] |
getEnabledSslProtocols()
Returns enabled SSL protocols.
|
java.lang.String[] |
getExcludedCiphers()
Returns excluded SSL ciphers.
|
java.lang.String |
getHttpAddress()
Returns HTTP binding host/IP.
|
int |
getHttpPort()
Returns HTTP binding port.
|
java.lang.String |
getHttpsAddress()
Returns HTTPS binding host/IP.
|
long |
getHttpSessionTtlMillis()
Returns HTTP session time to live.
|
int |
getHttpsPort()
Returns HTTPS binding port.
|
java.lang.String |
getKeyAlias()
Returns HTTPS key alias.
|
java.lang.String |
getServerName()
Returns the server name.
|
com.jscape.inet.mft.management.common.StrictTransportSecurityPolicy |
getStrictTransportSecurityPolicy()
Returns HTTP Strict Transport Security policy.
|
java.lang.String |
getTheme()
Returns web UI theme.
|
boolean |
isAutoLoginAllowed()
Returns Auto Login policy
|
boolean |
isCaptchaRequired()
Returns whether CAPTCHA will be displayed/required
|
boolean |
isClientCertificateRequired()
Returns client certificate required flag.
|
boolean |
isDomainDropdown()
Return whether domain drop-down field instead of input field is displayed.
|
boolean |
isDomainVisible()
Returns whether domain name field is displayed.
|
boolean |
isFipsModeRequired() |
boolean |
isHttpEnabled()
Returns HTTP enabling flag.
|
boolean |
isHttpsEnabled()
Returns HTTPS enabling flag.
|
boolean |
isIncludeServerPort()
Returns include server port in HTTP/S headers flag.
|
boolean |
isLostPasswordEnabled()
Returns whether lost password link is displayed on login page.
|
boolean |
isRedirectHttp()
Returns HTTP-to-HTTPS redirection flag.
|
boolean |
isSslRenegotiationAllowed()
Returns SSL renegotiation allowed flag.
|
boolean |
isUserInterfaceAllowed(int value)
Deprecated.
Support for Java applet removed
|
boolean |
isUserInterfaceSelectable()
Deprecated.
Support for Java applet removed
|
void |
setAutoLoginAllowed(boolean allowed)
Sets Auto Login allowed.
|
void |
setBacklog(int value) |
void |
setCaptchaRequired(boolean value)
Sets to display/require CAPTCHA in web interface.
|
void |
setClientCertificateRequired(boolean value)
Sets client certificate required flag.
|
void |
setDefaultDomain(java.lang.String domainName)
Sets default domain name
|
void |
setDomainDropdown(boolean value)
Sets whether domain drop-down filed should be displayed.
|
void |
setDomainVisible(boolean value)
Sets whether domain name field is displayed.
|
void |
setEnabledSslProtocols(java.lang.String[] value)
Sets enabled SSL protocols.
|
void |
setExcludedCiphers(java.lang.String[] value)
Sets excluded SSL ciphers.
|
void |
setFipsModeRequired(boolean value) |
void |
setHttpAddress(java.lang.String value)
Sets HTTP binding host/IP.
|
void |
setHttpEnabled(boolean value)
Sets HTTP enabling flag.
|
void |
setHttpPort(int value)
Sets HTTP binding port.
|
void |
setHttpsAddress(java.lang.String value)
Sets HTTPS binding host/IP.
|
void |
setHttpsEnabled(boolean value)
Sets HTTPS enabling flag.
|
void |
setHttpSessionTtlMillis(long milliseconds)
Sets HTTP session time to live.
|
void |
setHttpsPort(int value)
Sets HTTPS binding port.
|
void |
setIncludeServerPort(boolean includeServerPort)
Set whether to include server port in HTTP/S headers.
|
void |
setKeyAlias(java.lang.String value)
Sets HTTPS key alias.
|
void |
setLostPasswordEnabled(boolean enabled)
This will enable/disable whether lost password link is displayed on login page.
|
void |
setRedirectHttp(boolean value)
Sets HTTP-to-HTTPS redirection flag.
|
void |
setServerName(java.lang.String serverName)
Sets forced server name value.
|
void |
setSslRenegotiationAllowed(boolean value)
Sets SSL renegotiation flag.
|
void |
setStrictTransportSecurityPolicy(com.jscape.inet.mft.management.common.StrictTransportSecurityPolicy transportSecurityConfiguration)
Sets HTTP Strict Transport Security policy.
|
void |
setTheme(java.lang.String theme)
Sets web UI theme.
|
java.lang.String |
toString() |
getVersion, setVersionpublic static final long DEFAULT_HTTP_SESSION_TTL_MS
public static final boolean DEFAULT_INCLUDE_SERVER_PORT
public static final java.lang.String DEFAULT_THEME
public WebConfiguration(boolean httpEnabled,
java.lang.String httpAddress,
int httpPort,
boolean httpsEnabled,
java.lang.String httpsAddress,
int httpsPort,
java.lang.String keyAlias,
boolean fipsModeRequired,
java.lang.String[] excludedCiphers,
java.lang.String[] enabledSslProtocols,
boolean lostPasswordEnabled,
boolean redirectHttp,
boolean domainVisible,
boolean domainDropdown,
java.lang.String defaultDomain,
boolean clientCertificateRequired,
java.lang.String serverName,
boolean includeServerPort,
boolean sslRenegotiationAllowed,
long httpSessionTtlMillis,
boolean captchaRequired,
com.jscape.inet.mft.management.common.StrictTransportSecurityPolicy strictTransportSecurityPolicy,
boolean autoLoginAllowed,
java.lang.String theme,
int backlog)
httpEnabled - HTTP enabling flaghttpAddress - HTTP binding host/IPhttpPort - HTTP binding porthttpsEnabled - HTTPS enabling flaghttpsAddress - HTTPS binding host/porthttpsPort - HTTPS binding portkeyAlias - HTTPS key aliasexcludedCiphers - excluded SSL ciphersenabledSslProtocols - enabled SSL protocolslostPasswordEnabled - enabling whether lost password link is displayedredirectHttp - enabling HTTP-to-HTTPS redirectiondomainVisible - whether domain field is displayeddomainDropdown - whether domain drop-down field instead of input field is displayeddefaultDomain - default domain nameclientCertificateRequired - if true the client certificate is required for HTTPS connectionserverName - server nameincludeServerPort - whether to include server port in HTTP/S headers flagsslRenegotiationAllowed - allows SSL renegotiationhttpSessionTtlMillis - HTTP session time to live in secondscaptchaRequired - whether CAPTCHA will be displayed/requiredstrictTransportSecurityPolicy - HTTP Strict Transport Security policy configurationautoLoginAllowed - whether Auto Login is allowedtheme - web UI theme namepublic WebConfiguration(WebConfiguration that)
public WebConfiguration()
public boolean isHttpEnabled()
public void setHttpEnabled(boolean value)
value - HTTP enabling flagpublic java.lang.String getHttpAddress()
public void setHttpAddress(java.lang.String value)
value - HTTP binding host/IPpublic int getHttpPort()
public void setHttpPort(int value)
value - HTTP binding portpublic boolean isHttpsEnabled()
public void setHttpsEnabled(boolean value)
value - HTTPS enabling flagpublic java.lang.String getHttpsAddress()
public void setHttpsAddress(java.lang.String value)
value - HTTPS binding host/IPpublic int getHttpsPort()
public void setHttpsPort(int value)
value - HTTPS binding portpublic java.lang.String getKeyAlias()
public void setKeyAlias(java.lang.String value)
value - HTTPS key aliaspublic boolean isFipsModeRequired()
public void setFipsModeRequired(boolean value)
public java.lang.String[] getExcludedCiphers()
public void setExcludedCiphers(java.lang.String[] value)
value - excluded SSL cipherspublic java.lang.String[] getEnabledSslProtocols()
public void setEnabledSslProtocols(java.lang.String[] value)
value - enabled SSL protocolspublic boolean isLostPasswordEnabled()
true lost pasword link displayed; false otherwise.public void setLostPasswordEnabled(boolean enabled)
enabled - true enable lost password link; false otherwise.public boolean isRedirectHttp()
true if HTTP-to-HTTPS redirection is enabled;
false otherwisepublic void setRedirectHttp(boolean value)
value - if true HTTP-to-HTTPS redirection will be enabledpublic boolean isDomainVisible()
true if domain field is displayed;
false otherwise.public void setDomainVisible(boolean value)
value - if true domain field will be displayedpublic boolean isDomainDropdown()
true if drop-down field is displayedpublic void setDomainDropdown(boolean value)
value - if true domain drop-down field will be displayedpublic java.lang.String getDefaultDomain()
public void setDefaultDomain(java.lang.String domainName)
domainName - the domain namepublic boolean isClientCertificateRequired()
true if client certificate is required for HTTPS connection;
false otherwisepublic void setClientCertificateRequired(boolean value)
value - if true the client certificate will be required for HTTPS connectionpublic java.lang.String getServerName()
public void setServerName(java.lang.String serverName)
serverName - the server namepublic boolean isIncludeServerPort()
true if server port will be included; false otherwisepublic void setIncludeServerPort(boolean includeServerPort)
includeServerPort - if true the server port will be includedpublic boolean isUserInterfaceAllowed(int value)
value - user interface typetruepublic boolean isUserInterfaceSelectable()
true if user interface is selectable.falsepublic boolean isSslRenegotiationAllowed()
true if SSL renegotiation is allowed;
false otherwisepublic void setSslRenegotiationAllowed(boolean value)
value - if true the SSL renegotiation will be allowedpublic long getHttpSessionTtlMillis()
public void setHttpSessionTtlMillis(long milliseconds)
milliseconds - HTTP session time to live in millisecondspublic boolean isCaptchaRequired()
true CAPTCHA will be displayed/required; false otherwisepublic void setCaptchaRequired(boolean value)
value - it true CAPTCHA will be displayed/requiredpublic com.jscape.inet.mft.management.common.StrictTransportSecurityPolicy getStrictTransportSecurityPolicy()
public void setStrictTransportSecurityPolicy(com.jscape.inet.mft.management.common.StrictTransportSecurityPolicy transportSecurityConfiguration)
transportSecurityConfiguration - the HSTS policy; or null if disabledpublic java.lang.String getTheme()
public void setTheme(java.lang.String theme)
theme - the theme namepublic boolean isAutoLoginAllowed()
public void setAutoLoginAllowed(boolean allowed)
allowed - true if allowed; or false otherwisepublic int getBacklog()
public void setBacklog(int value)
public WebConfiguration copy()
copy in class Configurationpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2023. Redwood Software Inc. All rights reserved.