switch (problem.getType()) {
case ERROR:
problems.addError(JcrI18n.configurationError, problem.getPath(), problem.getReason());
break;
case WARNING:
problems.addWarning(JcrI18n.configurationWarning, problem.getPath(), problem.getReason());
break;
}
}
// Validate the components ...
getSecurity().validateCustomProviders(problems);