Re: [Dev] How to prevent an App calling System.exit() in MT mode?

2013-06-21 Thread Vijayaratha Vijayasingam
Thanks all.. On 20 June 2013 21:03, Kasun Gajasinghe kas...@wso2.com wrote: This is a common need that is not just related to WSO2 AS. This can be prevented by using the Security Manager [1] that is provided with Java runtime. I believe Stratos already uses this but not the stand-alone

Re: [Dev] How to prevent an App calling System.exit() in MT mode?

2013-06-20 Thread Afkham Azeez
We have protected the system using Java Security Manager, and it is configured with policies which does not allow such calls. Azeez On Thu, Jun 20, 2013 at 8:44 PM, Vijayaratha Vijayasingam rat...@wso2.comwrote: Hi all; We allow tenants to deploy their applications in AS.. Say, if an

Re: [Dev] How to prevent an App calling System.exit() in MT mode?

2013-06-20 Thread Kasun Gajasinghe
This is a common need that is not just related to WSO2 AS. This can be prevented by using the Security Manager [1] that is provided with Java runtime. I believe Stratos already uses this but not the stand-alone products. This can be done programatically too. [1]