add apache shiro support