Has http://jboss.org/documentation/HTML/ch13s70.html ( specifically the "Deploying a Secured J2EE Ear" section) been updated for JBoss 2.4.1/Tomcat 3.2.3? I was trying to get section 5.d (secure servlet) to work but it looks like I'm not getting authenticated. If I enter "scott" (no quotes) for the user and "echoman" for the password, the login window just re-displays itself. Both Mozilla 0.94 and MSIE 5.5 produce the same results.
The server log shows the following:
[JBossSecurityMgrRealm] Authenticating access, username: scott R( /jaas-example1 + /restricted/SecureServlet + null)
[JBossSecurityMgrRealm] ClassLoader: AdaptiveClassLoader( ):2360175
[JBossSecurityMgrRealm] Servlet ClassLoader: AdaptiveClassLoader( ):3724654
[JBossSecurityMgrRealm] Authenticating access, username: scott R( /jaas-example1 + /restricted/SecureServlet + null)
[JBossSecurityMgrRealm] ClassLoader: AdaptiveClassLoader( ):2360175
[JBossSecurityMgrRealm] Servlet ClassLoader: AdaptiveClassLoader( ):3724654
I tried it on JBoss 2.2.2 / Tomcat 3.2.2 and it works fine there. Thanks in advance.