hi all,
I try to secure 8082 port.
I followed the instruction provided by Vladimir Blagojevic couple weeks ago.
http://www.mail-archive.com/jboss-user@lists.sourceforge.net/msg03359.html
I subclassed the HtmlAdaptorServer as follows:
package org.jboss.util;
import com.sun.jdmk.comm.HtmlAdaptorServer;
import com.sun.jdmk.comm.AuthInfo;
import javax.management.MBeanServer;
import javax.management.MBeanServerFactory;
public class SubHtmlAdaptorServer extends
com.sun.jdmk.comm.HtmlAdaptorServer implements SubHtmlAdaptorServerMBean
{
public SubHtmlAdaptorServer()
{
super(8082);
AuthInfo mAuthInfo = new AuthInfo("xxxxxx","xxxxxx");
super.addUserAuthenticationInfo(mAuthInfo);
}
}
In my conf/default/jboss.jcml file I modified the following lines:
commented:
<!--
<mbean code="com.sun.jdmk.comm.HtmlAdaptorServer"
name="Adaptor:name=html">
<attribute name="MaxActiveClientCount">10</attribute>
<attribute name="Parser" />
<attribute name="Port">8082</attribute>
</mbean>
-->
and added
<mbean code="org.jboss.util.SubHtmlAdaptorServer"
name="Adaptor:name=html">
</mbean>
I run the Jboss and no errors,however, I couldn't access the 8082 port (I
got "The page cannot be displayed" message)
what I have done wrong here? any pointers will be greatly appreciated.
thanks,
kadir
NOTICE: The information contained in this electronic mail message and any
attachments is confidential to Pavilion Technologies, Inc. or one of its
subsidiaries and may contain proprietary information or be legally
privileged. This message and any attachments are intended only for the
personal and confidential use of the designated recipient(s). If you are not
the intended recipient or an agent responsible for delivering it to the
intended recipient, you are hereby notified that you have recieved this
message in error, and that any review, dissemination, distribution or
copying of this message and any attachments is unauthorized and strictly
prohibited. If you have received this message in error, please notify me
immediately by telephone and electronic mail, and delete this message, any
attachments, and all copies thereof. Thank you very much
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user