I posted this in the Beginners Forum and then the JAAS forum, but did not get any answers either place. I think that it is a very basic thing, I am just new to JBOSS and J2EE in general.
I have been trying to pull together just a simple example of how to secure a web page. I have a web page called: Secured.html in the directory com/pav/web.
When I attempt to access the Secured.html page, it pops up the Basic Auth dialog. Then, no matter what I type in for username and password, it takes me to the Secured.html screen. I have also exactly replicated this behavior with FORM logins instead of BASIC.
I'm sure that I am missing something really basic.
Most of the stuff in the files below are pulled together as best I can figure out from the JBOSS documentation.
Thanks in advance,
------- web.xml snippet --------
<web-resource-name>The Login Stuff</web-resource-name>
<realm-name>The Restricted Zone</realm-name>
The role required to access
--------- jboss-web.xml ----------
---------- the war file ----------