I have some simple JSP samples that run on (standalone) Tomcat 5 which require user login. I used to set the role to user/password mapping in the conf/tomcat-users.xml.
How do I do the samething for JBoss (4.0.1RC1)?
You don't as these files are never used. See the JAAS Howto in the Security & JAAS/JBoss forum.