Shiro plugin implementation