use of org.gluu.oxauth.model.error.ErrorResponseFactory in project oxAuth by GluuFederation.
the class ConfigurationFactory method reloadErrorsFromFile.
private boolean reloadErrorsFromFile() {
final ErrorMessages errorsFromFile = loadErrorsFromFile();
if (errorsFromFile != null) {
log.info("Reloaded errors from file: " + errorsFilePath);
errorResponseFactory = new ErrorResponseFactory(errorsFromFile, conf);
return true;
} else {
log.error("Failed to load errors from file: " + errorsFilePath);
}
return false;
}
Aggregations