@Override
	public boolean authorize(AuthorizationToken token) {
		if (token.getType().equals(getType())) {
			Calendar cal = Calendar.getInstance();
			if (cal.get(Calendar.HOUR_OF_DAY) > minHour && cal.get(Calendar.HOUR_OF_DAY) < maxHour) {
				return true;
			}
			System.out.println("Access denied.");
		}
		else {
			System.out.println("Invalid AuthorizationToken.");
		}
		return false;
	}