users@glassfish.java.net

Re: Glassfish and MBeanServer

From: <forums_at_java.net>
Date: Fri, 11 Jan 2013 09:16:42 -0600 (CST)

[quote=tmueller]You can remove the element from the domain.xml (although this
is not a supported configuration). [/quote] I did as you suggested and it
fixed my problem. Here is what the diff of the file looks like: ~$ diff
~/glassfish-3.1.2/glassfish/domains/domain1/config/domain.xml~
~/glassfish-3.1.2/glassfish/domains/domain1/config/domain.xml 85d84 < 266d264
< My use case is that I need to authenticate the JMX Connection using my
webaps spring-security based authentication layer. So I wrote some code that
uses spring-jmx to create a JMC Connector that uses spring-security within my
web-app. Thus I need to use that JMX connector and not some other. Your
suggested solution lets me do this :-) But it worries me that it is
unsupported. Perhaps GF team might consider a supported solution for this use
case in future?

--
[Message sent by forum member 'najmi']
View Post: http://forums.java.net/node/893775