Set<String> roles = new HashSet<String>();
Splitter splitter = Splitter.on(",").trimResults().omitEmptyStrings();
for (String role : splitter.split(cmd.getOptionValue(rolesOption.getLongOpt()))) {
roles.add(role);
}
AuthorizationContextHolder.setCurrentContext(new AuthorizationContext("lily-scan-records", repositoryName, roles));
}
lilyClient = new LilyClient(zkConnectionString, zkSessionTimeout);
LRepository repository = lilyClient.getRepository(repositoryName);
LTable table = repository.getTable(tableName);