users@glassfish.java.net

Re: Turn on security manager from CLI

From: <glassfish_at_javadesktop.org>
Date: Fri, 02 Nov 2007 12:37:22 PST

Absolutely. Just define the JVM option as we have used the JDK's default property name.

e.g.:
[code]
asadmin create-jvm-options -- -Djava.security.manager
[/code]

(The trailing "--" is required).

Regards,
Kedar

PS - Maybe we should have had a new command like "asadmin set-security-manager [on/off]"?
[Message sent by forum member 'km' (km)]

http://forums.java.net/jive/thread.jspa?messageID=243577