|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebAppContainerMBean
This MBean is used to specify domain-wide defaults for the WebApp container. In general, these properties can be overridden at the cluster level (in ClusterMBean, if the same property is present there), the server level (in ServerMBean, if the same property is present there) or for a specific Web application (in weblogic.xml).
Field Summary |
---|
Fields inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
DEFAULT_EMPTY_BYTE_ARRAY |
Method Summary | |
---|---|
abstract GzipCompressionMBean |
getGzipCompression() Get the GzipCompressionMBean, which represents GZIP compression support configuration. |
abstract int |
getMaxPostSize() The maximum post size this server allows for reading HTTP POST data in a servlet request. |
abstract int |
getMaxPostTimeSecs() Maximum post time (in seconds) for reading HTTP POST data in a servlet request. |
abstract int |
getMaxRequestParameterCount() The maximum request parameter count this server allows for reading maximum HTTP POST parameters count in a servlet request. |
abstract String |
getMimeMappingFile() Returns the name of the file containing mime-mappings for the domain. |
abstract String |
getP3PHeaderValue() Returns the P3P header value that will be sent with all responses for HTTP requests (if non-null). |
abstract int |
getPostTimeoutSecs() The amount of time this server waits between receiving chunks of data in an HTTP POST data before it times out. |
abstract int |
getServletReloadCheckSecs() |
abstract String |
getXPoweredByHeaderLevel() WebLogic Server uses the X-Powered-By HTTP header, as recommended by the Servlet 2.4 specification, to publish its implementation information. |
abstract boolean |
isAllowAllRoles() In the security-constraints elements defined in a web application's web.xml deployment descriptor, the auth-constraint element indicates the user roles that should be permitted access to this resource collection. |
abstract boolean |
isAuthCookieEnabled() Specifies whether the AuthCookie feature is enabled or not. |
abstract boolean |
isChangeSessionIDOnAuthentication() Global property to determine if we need to generate a new SessionID after authentication. |
abstract boolean |
isClientCertProxyEnabled() Specifies whether or not to honor the WL-Proxy-Client-Cert header coming with the request. |
abstract boolean |
isFilterDispatchedRequestsEnabled() Indicates whether or not to apply filters to dispatched requests. |
abstract boolean |
isHttpTraceSupportEnabled() Returns the value of HttpTraceSupportEnabled. |
abstract Boolean |
isJaxRsMonitoringDefaultBehavior() Global property to determine the behavior of monitoring in JAX-RS applications. |
abstract boolean |
isJSPCompilerBackwardsCompatible() Global property to determine the behavior of the JSP compiler. |
abstract boolean |
isMaxRequestParameterCountSet() |
abstract boolean |
isOptimisticSerialization() When OptimisticSerialization is turned on, WebLogic Server does not serialize-deserialize context and request attributes upon getAttribute(name) when a request gets dispatched across servlet contexts. |
abstract boolean |
isOverloadProtectionEnabled() This parameter is used to enable overload protection in the web application container against low memory conditions. |
abstract boolean |
isReloginEnabled() Beginning with the 9.0 release, the FORM/BASIC authentication behavior has been modified to conform strictly to the Java EE Specification. |
abstract boolean |
isRetainOriginalURL() The retain-original-url property is used in FORM based authentication scenarios. |
abstract boolean |
isRtexprvalueJspParamName() Global property which determines the behavior of the JSP compiler when a jsp:param attribute "name" has a request time value. |
abstract boolean |
isServletAuthenticationFormURL() ServletAuthenticationFormURL is used for backward compatibility with previous releases of Weblogic Server. |
abstract boolean |
isServletReloadCheckSecsSet() |
abstract boolean |
isShowArchivedRealPathEnabled() Global property to determine the behavior of getRealPath() for archived web applications. |
abstract boolean |
isWAPEnabled() Indicates whether the session ID should include JVM information. |
abstract boolean |
isWeblogicPluginEnabled() Specifies whether or not the proprietary WL-Proxy-Client-IP header should be honored. |
abstract boolean |
isWorkContextPropagationEnabled() Indicates whether or not WorkContextPropagation is enabled. |
abstract void |
setAllowAllRoles(boolean allowAllRoles) Sets the value of the backward compatibility switch AllowAllRoles attribute. |
abstract void |
setAuthCookieEnabled(boolean enable) Sets the value of the isAuthCookieEnabled attribute. |
abstract void |
setChangeSessionIDOnAuthentication(boolean changeSessionIDOnAuthentication) Sets the value of the ChangeSessionIDOnAuthentication parameter. |
abstract void |
setClientCertProxyEnabled(boolean ccp) A value of true causes proxy-server plug-ins to pass identity certificates from clients to all web applications that are deployed on all server instances in the domain. |
abstract void |
setFilterDispatchedRequestsEnabled(boolean enabled) Sets the value of the backward-compatibility parameter "FilterDispatchedRequestsEnabled". |
abstract void |
setHttpTraceSupportEnabled(boolean tse) Attackers may abuse HTTP TRACE functionality to gain access to information in HTTP headers, such as cookies and authentication data. |
abstract void |
setJaxRsMonitoringDefaultBehavior(Boolean value) Global property to determine the behavior of monitoring in JAX-RS applications. |
abstract void |
setJSPCompilerBackwardsCompatible(boolean compat) Sets the value of the JSPCompilerBackwardsCompatible parameter. |
abstract void |
setMaxPostSize(int bytes) Sets the value of the maxPostSize attribute. |
abstract void |
setMaxPostTimeSecs(int secs) Maximum post time (in seconds) for reading HTTP POST data in a servlet request. |
abstract void |
setMaxRequestParameterCount(int limit) Sets the value of the maxRequestParameterCount attribute. |
abstract void |
setMimeMappingFile(String mimeMapping) Sets the MimeMapping file name for the domain. |
abstract void |
setOptimisticSerialization(boolean b) Sets the OptimisticSerialization value. |
abstract void |
setOverloadProtectionEnabled(boolean enabled) Sets the value of the OverloadProtectionEnabled parameter. |
abstract void |
setP3PHeaderValue(String p3pHeader) If set to a non-null value, a "P3P" header will always be sent with all responses for HTTP requests. |
abstract void |
setPostTimeoutSecs(int secs) Sets the value of the postTimeoutSecs attribute. |
abstract void |
setReloginEnabled(boolean enabled) Enables re-login for FORM/BASIC authentication in web applications. |
abstract void |
setRetainOriginalURL(boolean b) Sets the RetainOriginalURL value. |
abstract void |
setRtexprvalueJspParamName(boolean rtexprvalue) Sets the value of RtexprvalueJspParamName. |
abstract void |
setServletAuthenticationFormURL(boolean b) Sets the ServletAuthenticationFormURL value. |
abstract void |
setServletReloadCheckSecs(int servletReloadCheckSecs) |
abstract void |
setShowArchivedRealPathEnabled(boolean showArchivedRealPathEnabled) Sets the value of the ShowArchivedRealPathEnabled parameter. |
abstract void |
setWAPEnabled(boolean enable) Sets the value of the IsWAPEnabled attribute. |
abstract void |
setWeblogicPluginEnabled(boolean wpe) WebLogic Server HttpRequest.getRemoteAddr() is used to rely on X-Forwarded-For for its returned value. |
abstract void |
setWorkContextPropagationEnabled(boolean workContextPropagationEnabled) Sets the value of WorkContextPropagationEnabled. |
abstract void |
setXPoweredByHeaderLevel(String xPoweredByHeaderLevel) Sets the level for XPoweredBy header information. |
Methods inherited from interface weblogic.management.configuration.ConfigurationMBean |
---|
freezeCurrentValue, getId, getInheritedProperties, getName, getNotes, isDynamicallyCreated, isInherited, isSet, restoreDefaultValue, setComments, setDefaultedMBean, setName, setNotes, setPersistenceEnabled, unSet |
Methods inherited from interface weblogic.management.WebLogicMBean |
---|
getMBeanInfo, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setParent |
Methods inherited from interface javax.management.DynamicMBean |
---|
getAttribute, getAttributes, invoke, setAttribute, setAttributes |
Methods inherited from interface javax.management.MBeanRegistration |
---|
postDeregister, postRegister, preDeregister, preRegister |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Methods inherited from interface weblogic.descriptor.DescriptorBean |
---|
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener |
Method Detail |
---|
boolean isReloginEnabled()
Beginning with the 9.0 release, the FORM/BASIC authentication behavior has been modified to conform strictly to the Java EE Specification. If a user has logged-in but does not have privileges to access a resource, the 403 (FORBIDDEN) page will be returned. Turn this flag on to enable the old behavior, which was to return the user to the login form.
WebAppContainerMBean.setReloginEnabled(boolean)
void setReloginEnabled(boolean enabled)
Enables re-login for FORM/BASIC authentication in web applications. Corresponding weblogic.xml element: container-descriptor -> relogin-enabled takes precedence over this value (if set).
enabled
- ReloginEnabled valueWebAppContainerMBean.isReloginEnabled()
boolean isAllowAllRoles()
In the security-constraints elements defined in a web application's web.xml deployment descriptor, the auth-constraint element indicates the user roles that should be permitted access to this resource collection. Here role-name="O_" is a compact syntax for indicating all roles in the Web application. In previous releases, role-name="O_" was treated as all users/roles defined in the realm.
This parameter is a backward-compatibility switch to restore old behavior. Default behavior is one required by the specification, meaning all roles defined in the web application.
If set, the value defined in weblogic.xml (container-descriptor -> allow-all-roles) takes precedence (if set) over this value.
WebAppContainerMBean.setAllowAllRoles(boolean)
void setAllowAllRoles(boolean allowAllRoles) throws InvalidAttributeValueException
Sets the value of the backward compatibility switch AllowAllRoles attribute.
allowAllRoles
-InvalidAttributeValueException
InvalidAttributeValueException
WebAppContainerMBean.isAllowAllRoles()
boolean isFilterDispatchedRequestsEnabled()
Indicates whether or not to apply filters to dispatched requests. This is a backward compatibility flag. Until version 8.1, WebLogic Server applied ServletFilters (if configured for the web application) on request dispatches (and includes/forwards). Servlet 2.4 has introduced the "Dispatcher" element to make this behavior explicit. The default value is Dispatcher=REQUEST. In order to be compliant with the Java EE specification, the default value for FilterDispatchedRequestsEnabled is false beginning with WebLogic Server 9.0. Note that if you are using old descriptors (meaning web.xml does not have version=2.4), then WebLogic Server automatically uses FilterDispatchedRequestsEnabled = true for the web applications, unless filter-dispatched-requests-enabled is explicitly set to false in weblogic.xml. This means that old applications will work fine without any modification. Additionally, during migration of old domains to the 9.0 domain, the migration plug-in automatically sets this flag to true.
WebAppContainerMBean.setFilterDispatchedRequestsEnabled(boolean)
void setFilterDispatchedRequestsEnabled(boolean enabled) throws InvalidAttributeValueException
Sets the value of the backward-compatibility parameter "FilterDispatchedRequestsEnabled".
enabled
-InvalidAttributeValueException
WebAppContainerMBean.isFilterDispatchedRequestsEnabled()
boolean isOverloadProtectionEnabled()
This parameter is used to enable overload protection in the web application container against low memory conditions. When a low memory situation occurs, new session creation attempts will result in weblogic.servlet.SessionCreationException. The application code needs to catch this exception and take proper action. Alternatively appropriate error-pages can be configured in web.xml against weblogic.servlet.SessionCreationException. This check is performed only on memory and replicated sessions.
SessionCreationException
, WebAppContainerMBean.setOverloadProtectionEnabled(boolean)
void setOverloadProtectionEnabled(boolean enabled)
Sets the value of the OverloadProtectionEnabled parameter.
enabled
-WebAppContainerMBean.isOverloadProtectionEnabled()
String getXPoweredByHeaderLevel()
WebLogic Server uses the X-Powered-By HTTP header, as recommended by the Servlet 2.4 specification, to publish its implementation information.
Following are the options:
WebAppContainerMBean.setXPoweredByHeaderLevel(String)
void setXPoweredByHeaderLevel(String xPoweredByHeaderLevel)
Sets the level for XPoweredBy header information.
xPoweredByHeaderLevel
-WebAppContainerMBean.getXPoweredByHeaderLevel()
String getMimeMappingFile()
Returns the name of the file containing mime-mappings for the domain.
The Format of the file should be: extension=mime-type
For Example:
htm=text/html
gif=image/gif
jpg=image/jpeg
If this file does not exist, WebLogic Server uses an implicit mime-mapping set of mappings defined in weblogic.utils.http.HttpConstants (DEFAULT_MIME_MAPPINGS). To remove a mapping defined in implicit map, set it to blank.
WebAppContainerMBean.setMimeMappingFile(String)
void setMimeMappingFile(String mimeMapping)
Sets the MimeMapping file name for the domain.
mimeMapping
-WebAppContainerMBean.getMimeMappingFile()
boolean isOptimisticSerialization()
When OptimisticSerialization is turned on, WebLogic Server does not serialize-deserialize context and request attributes upon getAttribute(name) when a request gets dispatched across servlet contexts. This means you will need to make sure that the attributes common to web applications are scoped to a common parent classloader (they are application-scoped) or placed in the system classpath if the two web applications do not belong to the same application. When OptimisticSerialization is turned off (which is the default), WebLogic Server does serialize-deserialize context and request attributes upon getAttribute(name) to avoid the possibility of ClassCastExceptions. The value of OptimisticSerialization can also be overridden for specific web applications by setting the optimistic-serialization value in weblogic.xml.
WebAppContainerMBean.isOptimisticSerialization()
void setOptimisticSerialization(boolean b)
Sets the OptimisticSerialization value.
b
-WebAppContainerMBean.isOptimisticSerialization()
boolean isRetainOriginalURL()
The retain-original-url property is used in FORM based authentication scenarios. When this property is set to true, after a successful authentication, WebLogic Server will redirect back to the web resource (page/servlet) retaining the protocol (http/https) used to access the protected resource in the original request. If set to false (which is the default value), WebLogic Server will redirect back to the protected resource using the current protocol. The retain-original-url value can also be specified at per web application level in weblogic.xml. The value in weblogic.xml, if specified, overrides the domain level value.
WebAppContainerMBean.isRetainOriginalURL()
void setRetainOriginalURL(boolean b)
Sets the RetainOriginalURL value.
b
-WebAppContainerMBean.isRetainOriginalURL()
boolean isServletAuthenticationFormURL()
ServletAuthenticationFormURL is used for backward compatibility with previous releases of Weblogic Server. If ServletAuthenticationFormURL is set to true (default), then ServletAuthentication.getTargetURLForFormAuthentication() and HttpSession.getAttribute(AuthFilter.TARGET_URL) will return the URL of the protected target resource. If set to false, the above APIs will return the URI of the protected target resource. By default, the value is set to true.(new method added in 9.0.0.1)
ServletAuthentication.getTargetURLForFormAuthentication(javax.servlet.http.HttpSession)
, ServletAuthentication.getTargetURIForFormAuthentication(javax.servlet.http.HttpSession)
, WebAppContainerMBean.isServletAuthenticationFormURL()
void setServletAuthenticationFormURL(boolean b)
Sets the ServletAuthenticationFormURL value.
b
-WebAppContainerMBean.isServletAuthenticationFormURL()
boolean isRtexprvalueJspParamName()
Global property which determines the behavior of the JSP compiler when a jsp:param attribute "name" has a request time value. Without this property set to "true", the JSP compiler throws an error for a JSP using a request time value for the "name" attribute as mandated by the JSP 2.0 specification. This property exists for backward compatibility.
WebAppContainerMBean.setRtexprvalueJspParamName(boolean)
void setRtexprvalueJspParamName(boolean rtexprvalue)
Sets the value of RtexprvalueJspParamName.
rtexprvalue
-WebAppContainerMBean.isRtexprvalueJspParamName()
void setClientCertProxyEnabled(boolean ccp)
A value of true
causes proxy-server plug-ins to pass identity certificates from clients to all web applications that are deployed on all server instances in the domain.
A proxy-server plug-in encodes each identify certification in the WL-Proxy-Client-Cert
header and passes the header to WebLogic Server instances. Each WebLogic Server instance takes the certificate information from the header, trusting that it came from a secure source, and uses that information to authenticate the user.
If you specify true
, use a ConnectionFilter
to ensure that each WebLogic Server instance accepts connections only from the machine on which the proxy-server plug-in is running. Specifying true
without using a connection filter creates a potential security vulnerability because the WL-Proxy-Client-Cert
header can be spoofed.
A value of true
overrides the value that each server instance within the domain specifies with ServerTemplateMBean.setClientCertProxyEnabled(boolean)
.
By default (or if you specify false
):
Each server instance can determine whether its applications trust certificates sent from the proxy server plug-in.
If a server instance does not set a value for its ClientCertProxyEnabled
attribute (or if it specifies false
), the weblogic.xml
deployment descriptor for each web application determines whether the web application trusts certificates sent from the proxy server plug-in.
By default (or if the deployment descriptor specifies false
), users cannot log in to the web application from a proxy server plug-in.
ccp
- The new clientCertProxyEnabled valueWebAppContainerMBean.isClientCertProxyEnabled()
, ClusterMBean.setClientCertProxyEnabled(boolean)
, ServerTemplateMBean.setClientCertProxyEnabled(boolean)
boolean isClientCertProxyEnabled()
Specifies whether or not to honor the WL-Proxy-Client-Cert header coming with the request.
WebAppContainerMBean.setClientCertProxyEnabled(boolean)
, ClusterMBean.isClientCertProxyEnabled()
, ServerTemplateMBean.isClientCertProxyEnabled()
void setHttpTraceSupportEnabled(boolean tse)
Attackers may abuse HTTP TRACE functionality to gain access to information in HTTP headers, such as cookies and authentication data. In the presence of other cross-domain vulnerabilities in web browsers, sensitive header information could be read from any domains that support the HTTP TRACE method.
This attribute disables HTTP TRACE support. It is present also in ClusterMBean and ServerMBean, so the attribute HttpTraceSupportEnabled can be set differently for different clusters or servers.
WebAppContainerMBean.isHttpTraceSupportEnabled()
, ClusterMBean.setHttpTraceSupportEnabled(boolean)
, ServerTemplateMBean.setHttpTraceSupportEnabled(boolean)
boolean isHttpTraceSupportEnabled()
Returns the value of HttpTraceSupportEnabled.
WebAppContainerMBean.setHttpTraceSupportEnabled(boolean)
, ClusterMBean.setHttpTraceSupportEnabled(boolean)
, ServerTemplateMBean.setHttpTraceSupportEnabled(boolean)
void setWeblogicPluginEnabled(boolean wpe)
WebLogic Server HttpRequest.getRemoteAddr() is used to rely on X-Forwarded-For for its returned value. This is a security hole as the HTTP header can be easily mocked, and we end up returning a wrong value. This is improved by introducing a proprietary header WL-Proxy-Client-IP from our plug-ins, and this header will only be used if WebLogic Server is configured to use our plug-ins. This is duplicated both in the ClusterMBean and the ServerMBean so the attribute WebLogicPluginEnabled can be used cluster-wide. The ClusterMBean overrides the ServerMBean.
wpe
- The new weblogicPluginEnabled valueWebAppContainerMBean.isWeblogicPluginEnabled()
, ClusterMBean.setWeblogicPluginEnabled(boolean)
, ServerTemplateMBean.setWeblogicPluginEnabled(boolean)
boolean isWeblogicPluginEnabled()
Specifies whether or not the proprietary WL-Proxy-Client-IP
header should be honored. (This is needed only when WebLogic Server plug-ins are configured.)
WebAppContainerMBean.setWeblogicPluginEnabled(boolean)
, ClusterMBean.isWeblogicPluginEnabled()
, ServerTemplateMBean.isWeblogicPluginEnabled()
void setAuthCookieEnabled(boolean enable)
Sets the value of the isAuthCookieEnabled attribute.
Enables use of additional secure AuthCookie to make access to HTTPS pages with security constraints more secure. The session cookie will not be sufficient to gain access. This property can be overridden at WebServerMBean level.
WebAppContainerMBean.isAuthCookieEnabled()
, WebServerMBean.setAuthCookieEnabled(boolean)
boolean isAuthCookieEnabled()
Specifies whether the AuthCookie feature is enabled or not.
WebAppContainerMBean.setAuthCookieEnabled(boolean)
, WebServerMBean.isAuthCookieEnabled()
void setWAPEnabled(boolean enable)
Sets the value of the IsWAPEnabled attribute. This property can be overridden at the WebServerMBean level.
enable
- The new WAPEnabled valueWebAppContainerMBean.isWAPEnabled()
, WebServerMBean.setWAPEnabled(boolean)
boolean isWAPEnabled()
Indicates whether the session ID should include JVM information. (Checking this box may be necessary when using URL rewriting with WAP devices that limit the size of the URL to 128 characters, and may also affect the use of replicated sessions in a cluster.) When this box is selected, the default size of the URL will be set at 52 characters, and it will not contain any special characters.
WebAppContainerMBean.setWAPEnabled(boolean)
, WebServerMBean.isWAPEnabled()
void setPostTimeoutSecs(int secs) throws InvalidAttributeValueException
Sets the value of the postTimeoutSecs attribute.
Timeout (in seconds) for reading HTTP POST data in a servlet request. This parameter can be overridden at the WebServerMBean level.
secs
- The new postTimeoutSecs valueInvalidAttributeValueException
WebAppContainerMBean.getMaxPostTimeSecs()
, WebServerMBean.setPostTimeoutSecs(int)
int getPostTimeoutSecs()
The amount of time this server waits between receiving chunks of data in an HTTP POST data before it times out. (This is used to prevent denial-of-service attacks that attempt to overload the server with POST data.)
WebAppContainerMBean.setPostTimeoutSecs(int)
, WebServerMBean.getPostTimeoutSecs()
void setMaxPostTimeSecs(int secs) throws InvalidAttributeValueException
Maximum post time (in seconds) for reading HTTP POST data in a servlet request. MaxPostTime < 0 means unlimited. This parameter can be overridden at the WebServerMBean level.
secs
- The new maxPostTimeSecs valueInvalidAttributeValueException
WebAppContainerMBean.getMaxPostTimeSecs()
, WebServerMBean.setMaxPostTimeSecs(int)
int getMaxPostTimeSecs()
Maximum post time (in seconds) for reading HTTP POST data in a servlet request. MaxPostTime < 0 means unlimited
WebAppContainerMBean.setMaxPostTimeSecs(int)
, WebServerMBean.getMaxPostTimeSecs()
void setMaxPostSize(int bytes) throws InvalidAttributeValueException
Sets the value of the maxPostSize attribute. This parameter can be overridden at the WebServerMBean level.
Maximum post size (in bytes) for reading HTTP POST data in a servlet request. MaxPostSize < 0 means unlimited.
bytes
- The new maxPostSize valueInvalidAttributeValueException
WebAppContainerMBean.getMaxPostSize()
, WebServerMBean.setMaxPostSize(int)
int getMaxPostSize()
The maximum post size this server allows for reading HTTP POST data in a servlet request. A value less than 0 indicates an unlimited size.
WebAppContainerMBean.setMaxPostSize(int)
, WebServerMBean.getMaxPostSize()
void setMaxRequestParameterCount(int limit) throws InvalidAttributeValueException
Sets the value of the maxRequestParameterCount attribute.
The maximum request parameter count for reading HTTP POST parameters in a servlet request. maxRequestParameterCount
limit
- The new maxRequestParameterCount valueInvalidAttributeValueException
WebServerMBean.setMaxRequestParameterCount(int)
int getMaxRequestParameterCount()
The maximum request parameter count this server allows for reading maximum HTTP POST parameters count in a servlet request.
Gets the maxRequestParameterCount attribute of the WebServerMBean object.
WebServerMBean.getMaxRequestParameterCount()
boolean isMaxRequestParameterCountSet()
boolean isWorkContextPropagationEnabled()
Indicates whether or not WorkContextPropagation is enabled. By default, it is turned on. There is a little overhead involved in propagating WorkContexts. Therefore, if you don't want WorkContext propagation, turn this value off in production environments.
WebAppContainerMBean.setWorkContextPropagationEnabled(boolean)
void setWorkContextPropagationEnabled(boolean workContextPropagationEnabled)
Sets the value of WorkContextPropagationEnabled.
workContextPropagationEnabled
-WebAppContainerMBean.isWorkContextPropagationEnabled()
void setP3PHeaderValue(String p3pHeader)
If set to a non-null value, a "P3P" header will always be sent with all responses for HTTP requests. The value of the P3P header will be the value assigned to this configuration parameter. The value should be equal to the location of the policy reference file for the website.
Alternatively, a servlet filter can be used to set the P3P header.
p3pHeader
- P3P Header value (location of the policy reference file)WebAppContainerMBean.getP3PHeaderValue()
String getP3PHeaderValue()
Returns the P3P header value that will be sent with all responses for HTTP requests (if non-null). The value of this header points to the location of the policy reference file for the website.
Alternatively, a servlet filter can be used to set the P3P header.
WebAppContainerMBean.setP3PHeaderValue(String)
boolean isJSPCompilerBackwardsCompatible()
Global property to determine the behavior of the JSP compiler. When this property set to "true", the JSP compiler throws a translation error for JSPs that do not conform to the JSP2.0 specification. This property exists for backward compatibility.
void setJSPCompilerBackwardsCompatible(boolean compat)
Sets the value of the JSPCompilerBackwardsCompatible parameter.
compat
-int getServletReloadCheckSecs()
void setServletReloadCheckSecs(int servletReloadCheckSecs)
boolean isServletReloadCheckSecsSet()
boolean isShowArchivedRealPathEnabled()
Global property to determine the behavior of getRealPath() for archived web applications. When this property is set to "true", getRealPath() will return the canonical path of the resource files.
void setShowArchivedRealPathEnabled(boolean showArchivedRealPathEnabled)
Sets the value of the ShowArchivedRealPathEnabled parameter.
showArchivedRealPathEnabled
-boolean isChangeSessionIDOnAuthentication()
Global property to determine if we need to generate a new SessionID after authentication. When this property is set to "false", the previous sessionID will be retained even after authorization.
void setChangeSessionIDOnAuthentication(boolean changeSessionIDOnAuthentication)
Sets the value of the ChangeSessionIDOnAuthentication parameter.
changeSessionIDOnAuthentication
-GzipCompressionMBean getGzipCompression()
Get the GzipCompressionMBean, which represents GZIP compression support configuration.
void setJaxRsMonitoringDefaultBehavior(Boolean value)
Global property to determine the behavior of monitoring in JAX-RS applications. When the property is set to true
(or not set) the monitoring is turned on (if not overridden by properties set directly in application). If the property is set to false
the monitoring for all JAX-RS applications is disabled (each JAX-RS application can override this by setting similar properties via WebAppComponentMBean.isJaxRsMonitoringDefaultBehavior()
).
Default value is true
.
value
- value to determine the default behavior.Boolean isJaxRsMonitoringDefaultBehavior()
Global property to determine the behavior of monitoring in JAX-RS applications. When the property is set to true
(or not set) the monitoring is turned on (if not overridden by properties set directly in application). If the property is set to false
the monitoring for all JAX-RS applications is disabled.
true
(or null
) if the JAX-RS monitoring behaves in the default way, false
if monitoring is disabled.
|
Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.2.1) Part Number E55141-01 P4 Change 1723563 on 2015/10/09 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |