You're posting in the wrong forum.
Take a look here. It's a great example of how to enable basic auth on a web application in jboss/tomcat.
I've done the exact thing to jmx-console but it generates a different situation since it doesn't let me login at all. When I try to do the same thing to my .war-file it still lets me lgin regardless of what I type in the login box... what do I do wrong?
Another question; Which forum should I use?