For this demo to work, you must be running jetty with the etc/jetty-jaas.xml included on the runline:
java -jar start.jar etc/jetty.xml etc/jetty-jaas.xml
Click on the following link to test JAAS AUTHENTICATION and role-based web security constraint AUTHORIZATION.
This demo uses a simple login module that stores it's configuration in a properties file. There are other types of login module provided with the jetty distro. For full information, please refer to the jetty JAAS wiki page at: http://docs.codehaus.org/display/JETTY/JAAS.
To authenticate successfully with this demonstration, you must use username="me" with password="me". All other usernames, passwords should result in authentication failure.
Login