}
return instance;
}
}
} else if (head.equals("log")) {
return new LogWrapper(getInstance(tail));
} else if (head.equals("sec")) {
String userPassUrl = tail;
int index = userPassUrl.indexOf(':');
if (index < 0) {
throw ExceptionFactory.get("Expected url format: sec:user@pass:<url>");