Shiro-based security layer for appbase projects