add shiro underlying code