All | Personal | Quality | SailFin | Security in Glassfish AppServer | Sun
« Previous day (Apr 16, 2006) | Main | Next day (Apr 18, 2006) »
20060417 Monday April 17, 2006

How to configure Security Manager ON/OFF? By default, the security manager is off on GlassFish, Sun Java System application server. One can enable the security manager by setting the following jvm option in the server configuration and restart the server.

-Djava.security.manager

If the development of the applications happend without security manager and later enabled in the production, there is a possibility that the application need more permissions. These permissions can be set in the domain's server.policy .

How to add JVM option?
Admin console --> http://localhost:4848/ goto ApplicationServer-> JVM Settings -> JVM Options -> Add JVM Option

It is better to test the applications with security manager to get the production ready applications.
Posted by Jagadesh Babu Munta ( Apr 17 2006, 05:01:24 PM PDT ) Permalink Comments [1]

Calendar

RSS Feeds

Search

Links

Navigation

Referers