Posts

Showing posts with the label manager

Enabling Java Security Manager for WSO2 products

Why Java Security Manager is needed? In Java, the Security Manager is available for applications to have various security policies. The Security Manager helps to prevent untrusted code from doing malicious actions on the system.  You need to enable Security Manager, if you plan to host any untrusted user applications in WSO2 products, especially in products like WSO2 Application Server . The security policies should explicitly allow actions performed by the code base. If any of the actions are not allowed by the security policy, there will be a SecurityException .  For more information on this, you can refer Java SE 7 Security Documentation . Security Policy Guidelines for WSO2 Products When enabling Security Manager for WSO2 products, it is recommended to give all permissions to all jars inside WSO2 product. For that, we plan to sign all jars using a common key and grant all permissions to the signed code by using "signedBy" grant as follows. grant sign...