@Override
	public AuthContext process(AuthContext info, AuthChain chain) {
		if(userService == null){
			System.out.println("warming from CheckPointProcesser:userService is null.");
			return chain.next(info);
		}
		//开绿灯的资源
		boolean isOpenSource = false;
		if(openSource.size() > 0){
			
			String requestURI = "";
			try {
				requestURI = (String) info.get("requestURI");
			} catch (Exception e) {e.printStackTrace();}
			
			for(Pattern p : openSource){
				if(p.matcher(requestURI).find()){
					info.setUserCheckPoint(OPEN_SOURCE_CHECKPOINT);
					info.setResourceCheckPoint(OPEN_SOURCE_CHECKPOINT);
					isOpenSource = true;
					break;
				}
			}
		}
		if(!isOpenSource){
			String account = info.getAccount();
			//未完成- -
			Set<String> userCheckPoints = userService.fetchUserCheckPoints(account);
			Set<String> resourceCheckPoints = userService.getchResourceCheckPoints();
			info.setUserCheckPoints(userCheckPoints);
			info.setResourceCheckPoints(resourceCheckPoints);
		}
		return chain.next(info);
	}