Simple servlet that uses a database for authentication of user name and password, if the query returns a match the user is allowed to proceed.