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