Allowing non-administrators to run diagnostics

You can allow non-administrators to run diagnostics in Rule Execution Server.

About this task

By default, users belonging to resDeployers or resMonitors do not have WebLogic Server administrator rights, which they need to run the diagnostics. The following procedure shows how to add a Java™ Management Extensions (JMX) policy for these users to access all the MBeans. For the JMX Policy Editor to be available on the Policies page, you must first activate a specific option to protect JMX access.

Procedure

  1. In the WebLogic Server Administration Console, from the Home Page, click Security Realms, and in the Realms table click myrealm.
  2. On the Settings for myrealm page, on the Configurations > General tab, select the Use Authorization Providers to Protect JMX Access check box.
  3. Click Save and restart the server.
  4. After the server is restarted, click the Roles and Policies tab, and then the Realm Policies tab.
  5. Under Policies, click JMX Policy Editor.
  6. On the JMX Policy Editor page, check that GLOBAL SCOPE is selected and click Next.
  7. In the next panel, check that ALL MBEAN TYPES is selected and click Next.
  8. In the Attributes and Operations table, select Operations: Permission to Invoke and click Create Policy.
  9. Click Add Conditions, select Role from the Predicate List, and click Next.
  10. Type Admin in the Role Argument Name field and click Add, and then click Finish.
  11. On the Edit JMX Policies page, click Add Conditions, select Group from the Predicate List list, and click Next.
  12. Add the groups that do not have administrator privilege and that you want to run the diagnostic tests. For example, to add the resDeployers and resMonitors groups:
    1. Type resDeployers in the Group Argument Name field and click Add.
    2. Type resMonitors in the Group Argument Name field and click Add.
    3. Click Finish
  13. Click Save.
  14. Restart WebLogic Server.