Apache Shiro Tutorial to secure a RESTful Web service