Hi all,

I just want to know if (and how) it is possible to add an
authentification to the JMX Web-Interface of JBoss. 

In the documentation of the adaptor class I found that it support
HTTPBasicAuthentification. I also found a parameter "AuthentificationOn"
(which is set to false) in the mbean view of my "Adaptor:name=html"
mbean. If I try to set the attribute to true JBoss throws an exception
at startup. The exception just tells me that the attribute is unknown or
cannot be set. Because the attribute is marked as RO in the access
column of the mbean view the second must be true.

Can someone help me with this?

Thanks in advance,
Achim

[EMAIL PROTECTED]

########################################################
I added this line to the "Adaptor:name=html" mbean in jboss.jcml
    <attribute name="AuthenticationOn">true</attribute>

Here are the first few lines of the exception:
[Default] javax.management.AttributeNotFoundException: AuthenticationOn 
is unknown in HtmlAdaptorServer, or cannot be set
[Default]       at com.sun.jdmk.comm.HtmlAdaptorServer.
setAttribute(HtmlAdaptorServer.java:804)
[Default]       at com.sun.management.jmx.MBeanServerImpl.
setAttribute(MBeanServerImpl.java:1356)
[Default]       at com.sun.management.jmx.MBeanServerImpl.
setAttribute(MBeanServerImpl.java:1331)
[Default]       at org.jboss.configuration.ConfigurationService.
load(ConfigurationService.java:132)



_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to