before shiro spring work