Example based on Apache Shiro Hello World tutorial