Example: J2EE security permissions

You must grant J2EE security permissions to application scoped code for JMX and WebSphere Application Server administrative privileges in order to allow the code to call WebSphere Application Server administrative and JMX methods.