Setting Java 2 security permissions
You must configure Java 2 security permissions to use Java Management Extension and WAS administrative methods.
Before you beginWhen you enable Java 2 security, grant Java 2 security permissions to application-specific code for Java Management Extensions (JMX) and WAS administrative privileges. With these permissions, your application code can call WAS administrative methods and JMX methods.
About this taskIf you are using Java 2 security then you 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.
- Use the following permission to invoke all the JMX class methods and interface methods:Consult the Java Management Extensions (JMX) API documentation for specific actions under the MBeanPermission class.permission javax.management.MBeanPermission "*", "*";
- Use the following permission for WAS administrative APIs:permission com.ibm.websphere.security.WebSphereRuntimePermission "AdminPermission";
Extending the WAS administrative system with custom MBeans
WebSphere is a trademark of the IBM Corporation in the United States, other countries, or both.
IBM is a trademark of the IBM Corporation in the United States, other countries, or both.