Extension for Apache Shiro to work with Sun Jersey.