An example web application that show how to configure Shiro via a web.xml and basic user login.
web.xml
mvn jetty:run
Browse to http://localhost:9080/
http://localhost:9080/
Or deploy to Heroku: