users@glassfish.java.net

Re: JMX / readonly access

From: <glassfish_at_javadesktop.org>
Date: Fri, 04 Dec 2009 15:42:53 PST

Is this GlassFish V2 or V3?

asadmin create-file-user [b]--authrealmname admin-realm[/b] should work in either case. A user created thus should be able to administer the server. The only catch is that it won't have read-only access.

In other words, the read-only access is not available in either GFv2 or v3.

Now, if you are trying a the plain JMX way of doing it, (http://java.sun.com/javase/6/docs/technotes/guides/jmx/tutorial/security.html#wp997056), it is not directly supported by the RMI connector server built into v2 or v3. v2/v3 RMI connector server (the one at 8686) does not
obey those security credentials.

- Kedar
[Message sent by forum member 'km' ]

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