File as Data Source


File format

    userid:password:Last Name:First Name:Email Address

To run the sample application Download the project files from here

Unpack the file under web application directory (webapps/)

Change the  authenticate/WEB-INF/Web-file.xml into web.xml

In web.xml change the user database file Name


Add some sample records in that file ( : as a field separator )

Than start the web server and point your browser to http://localhost/authenticate/ you should be able to see index page.

To Debug please look into log file and web server console message.