You must configure Java 2 security permissions to use Java Management
Extension and WebSphere Application Server administrative methods.
Before you begin
When you enable Java 2 security, you must grant Java 2 security permissions
to application-specific code for Java Management Extensions (JMX) and WebSphere
Application Server administrative privileges. With these permissions, your
application code can call WebSphere Application Server administrative methods
and JMX methods.
About this task
If 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.
Procedure
- Use the following permission to invoke all the JMX class methods
and interface methods:
permission javax.management.MBeanPermission "*", "*";
Consult
the Java Management Extensions (JMX) API documentation for
specific actions under the MBeanPermission class.
- Use the following permission for WebSphere Application Server administrative
application programming interfaces (APIs):
permission com.ibm.websphere.security.WebSphereRuntimePermission "AdminPermission";