Modify This Secure Mode

post

/management/weblogic/{version}/edit/securityConfiguration/secureMode

Modify this secure mode.

Request

Supported Media Types
Path Parameters
Header Parameters
  • The 'X-Requested-By' header is used to protect against Cross-Site Request Forgery (CSRF) attacks. The value is an arbitrary name such as 'MyClient'.
Body ()

Must contain the modified secure mode model.

Root Schema : Secure Mode
Type: object
Show Source
  • Read Only: true
    Default Value: false

    Return whether the MBean was created dynamically or is persisted to config.xml

  • Read Only: true

    Return the unique id of this MBean instance

  • Read Only: true

    The user-specified name of this MBean instance.

    This name is included as one of the key properties in the MBean's javax.management.ObjectName

    Name=user-specified-name

    Constraints

    • legal null
  • Optional information that you can include to describe this configuration.

    WebLogic Server saves this note in the domain's configuration file (config.xml) as XML PCDATA. All left angle brackets (<) are converted to the xml entity <. Carriage returns/line feeds are preserved.

    Note: If you create or edit a note from the Administration Console, the Administration Console does not preserve carriage returns/line feeds.

  • Default Value: true

    Returns whether restrictive policies will be used for JMX authorization.

    If secure mode is enabled and restrictive policies are enabled, then the default policies for JMX only allow MBean access to the standard WLS roles (Admin, Deployer, Operator, or Monitor). If changed as part of a non-dynamic activation, then the ServerSecurityRuntimeMBean.resetDefaultPolicies method should also be invoked.

  • Default Value: false

    Returns whether the domain will run in secure mode.

    In secure mode, the configuration defaults are those recommended for securing a domain. The authorization policies for JNDI and MBean access are more restrictive in secure mode. In addition, WLS will validate the domain configuration and log warnings and errors for any insecure settings.

    Secure mode requires the domain to be in production mode.

  • Items
    Title: Items

    Return all tags on this Configuration MBean

  • Read Only: true

    Returns the type of the MBean.

    Constraints

    • unharvestable
  • Default Value: true

    Returns whether warnings should be logged if auditing not enabled.

    If secure mode is enabled and warnings are enabled, then messages will be logged if auditing is not enabled.

  • Default Value: true

    Returns whether warnings should be logged if applications are not secure.

    If secure mode is enabled and warnings are enabled, then messages will be logged for insecure application elements.

  • Default Value: true

    Returns whether warnings should be logged if the File System is not secure.

    If secure mode is enabled and warnings are enabled, then messages will be logged for insecure file system setting.

  • Default Value: true

    Returns whether warnings should be logged if the SSL configuration is not secure.

    If secure mode is enabled and warnings are enabled, then messages will be logged for insecure SSL configuration settings.

  • Default Value: true

    Returns whether warnings should be logged if the Java Security Manager is not enabled.

    If secure mode is enabled and warning is enabled, then a messages will be logged if the Java Security Manager is not enabled.

Nested Schema : Items
Type: array
Title: Items

Return all tags on this Configuration MBean

Show Source
Security
  • Type: basic
    Description: A user in the Admin security role.
Back to Top

Response

200 Response

Back to Top