|
JSCAPE MFT Server | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.mft.management.common.WebConfiguration
public class WebConfiguration
Web server configuration.
Field Summary | |
---|---|
static int |
APPLET_UI
Java Applet only user interface |
static long |
DEFAULT_HTTP_SESSION_TTL_MS
Default HTTP session time to live value 30 min |
static int |
DEFAULT_UI
Default user interface HTML or Java Applet |
static int |
HTML_UI
HTML only user interface |
Constructor Summary | |
---|---|
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,
java.lang.String[] excludedCiphers,
boolean lostPasswordEnabled,
boolean redirectHttp,
boolean domainVisible,
java.lang.String defaultDomain,
boolean clientCertificateRequired,
java.lang.String serverName,
int userInterface,
boolean sslRenegotiationAllowed,
long httpSessionTtlMillis)
Creates a new configuration instance. |
|
WebConfiguration(WebConfiguration that)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getDefaultDomain()
Returns default domain. |
boolean |
getDomainVisible()
Returns wheter domain name field is displayed. |
java.lang.String[] |
getExcludedCiphers()
Returns excluded SSL ciphers. |
java.lang.String |
getHttpAddress()
Returns HTTP binding host/IP. |
boolean |
getHttpEnabled()
Returns HTTP enabling flag. |
int |
getHttpPort()
Returns HTTP binding port. |
java.lang.String |
getHttpsAddress()
Returns HTTPS binding host/IP. |
boolean |
getHttpsEnabled()
Returns HTTPS enabling flag. |
long |
getHttpSessionTtlMillis()
Returns HTTP session time to live. |
int |
getHttpsPort()
Returns HTTPS binding port. |
java.lang.String |
getKeyAlias()
Returns HTTPS key alias. |
boolean |
getLostPasswordEnabled()
Returns whether lost password link is displayed on login page. |
boolean |
getRedirectHttp()
Returns HTTP-to-HTTPS redirection flag. |
java.lang.String |
getServerName()
Returns the server name. |
int |
getUserInterface()
Returns user interface. |
boolean |
isClientCertificateRequired()
Returns client certificate required flag. |
boolean |
isSslRenegotiationAllowed()
Returns SSL renegotiation allowed flag. |
boolean |
isUserInterfaceAllowed(int ui)
Checks if specified user interface type is allowed. |
void |
setClientCertificateRequired(boolean value)
Sets client certificate required flag. |
void |
setDefaultDomain(java.lang.String domainName)
Sets deafult domain name |
void |
setDomainVisible(boolean value)
Sets whether domain name field is displayed. |
void |
setExcludedCiphers(java.lang.String[] value)
Sets excluded SSL ciphers. |
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 |
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 |
setUserInterface(int value)
Sets user interface. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int HTML_UI
public static final int APPLET_UI
public static final int DEFAULT_UI
public static final long DEFAULT_HTTP_SESSION_TTL_MS
Constructor Detail |
---|
public WebConfiguration(boolean httpEnabled, java.lang.String httpAddress, int httpPort, boolean httpsEnabled, java.lang.String httpsAddress, int httpsPort, java.lang.String keyAlias, java.lang.String[] excludedCiphers, boolean lostPasswordEnabled, boolean redirectHttp, boolean domainVisible, java.lang.String defaultDomain, boolean clientCertificateRequired, java.lang.String serverName, int userInterface, boolean sslRenegotiationAllowed, long httpSessionTtlMillis)
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 cipherslostPasswordEnabled
- enabling whether lost password link is displayedredirectHttp
- enabling HTTP-to-HTTPS redirectiondomainVisible
- wheter domain field is displayeddefaultDomain
- default domain nameclientCertificateRequired
- if true
the client certificate is required for HTTPS connectionserverName
- server nameuserInterface
- web user interfacesslRenegotiationAllowed
- allows SSL renegotiationhttpSessionTtlMillis
- HTTP session time to live in secondspublic WebConfiguration(WebConfiguration that)
public WebConfiguration()
Method Detail |
---|
public boolean getHttpEnabled()
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 getHttpsEnabled()
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 java.lang.String[] getExcludedCiphers()
public void setExcludedCiphers(java.lang.String[] value)
value
- excluded SSL cipherspublic boolean getLostPasswordEnabled()
true
lost pasword link displayed; false
otherwise.public void setLostPasswordEnabled(boolean enabled)
enabled
- true
enable lost password link; false
otherwise.public boolean getRedirectHttp()
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 getDomainVisible()
true
if domain field is displayed;
false
otherwise.public void setDomainVisible(boolean value)
value
- if true
domain 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 int getUserInterface()
HTML_UI
,
APPLET_UI
public void setUserInterface(int value)
Allowed values: HTML only
, Java Applet only
or composite.
Default: HTML or Java Applet (HTML_UI
| APPLET_UI
).
value
- the user interfacepublic boolean isUserInterfaceAllowed(int ui)
ui
- user interface type
true
if specified type is allowed;
false
otherwisepublic boolean isSslRenegotiationAllowed()
true
if SSL regotiation 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 equals(java.lang.Object o)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
JSCAPE MFT Server | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |