Set Java 2 security permissions
Configure Java 2 security permissions to use Java Management Extension and WebSphere Application Server administrative methods.
When we enable Java 2 security, grant Java 2 security permissions to application-specific code for JMX and WAS administrative privileges. With these permissions, the application code can call WAS administrative methods and JMX methods.
If we are using Java 2 security then we need to verify that your extensions and application server can access the required resources. The following steps show how to configure access for JMX and the application server administrative methods.
Tasks
- Invoke all the JMX class methods and interface methods:
permission javax.management.MBeanPermission "*", "*";
Consult the application programming interfaces documentation for specific actions under the MBeanPermission class.
- WAS administrative APIs:
permission com.ibm.websphere.security.WebSphereRuntimePermission "AdminPermission";
Related:
Additional Application Programming Interfaces (APIs) Extending the WAS administrative system with custom MBeans