Anybody knows how to secure web applications using Basic HTTP Authentication using JBoss-Tomcat? I tried the trick for tomcat but it accepts any user name and password. Where do I specify the user-name and password combinations? I would like to use MemoryRealm.
You will need to configure JBoss security domains and JAAS login modules. Start with the JAAS HOWTO.