I have configured my JBoss to use custom Valve but it breaks the JMX-Console BASIC authentication.
I would like to add a context.xml for JMX-Console with correct Valve and Realm.
I found that JBossSecurityMgrRealm is the realm that resposible for BASIC authentication.
However, I cannot find the correct Valve used by JBoss for handling BASIC authentication.
Tomcat 5.5 uses org.apache.catalina.authenticator.BasicAuthenticator to handle BASIC authentication. How about JBoss?
After using org.apache.catalina.authenticator.BasicAuthenticator as Valve for basic authenticator in Jboss JMX-Console, it works as what I expected.