public class WebInterfaceConfig {
public static List<String> getCredencials(String requestIp, String requestPassword) {
ArrayList<String> allowed = new ArrayList<String>();
try {
XMLConfiguration config = new XMLConfiguration(new Helper().getGoobiConfigDirectory() +"goobi_webapi.xml");
config.setListDelimiter('&');
config.setReloadingStrategy(new FileChangedReloadingStrategy());
int count = config.getMaxIndex("credentials");
for (int i = 0; i <= count; i++) {