Network Deployment (Distributed operating systems), v8.0 > Administer applications and their environment > Use the administrative clients > Use administrative programs (JMX) > Extend the WAS administrative system with custom MBeans
Set Java 2 security permissions
Configure Java 2 security permissions to use Java Management Extension and WAS administrative methods. When you 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 you are using Java 2 security then 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.
Procedure
- Use the following permission to 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.- Use the following permission for WAS administrative API:
permission com.ibm.websphere.security.WebSphereRuntimePermission "AdminPermission";
Additional Application Programming Interfaces (APIs)
Extend the WAS administrative system with custom MBeans