Made plugin integrate with Spring Security in lieu of a custom security implementation.