subject.login(usernamePasswordToken);// 执行登录认证
subject.checkRole("admin");//执行权限认证   如果不调用  将不会执行 doGetAuthorizationInfo 方法。