dataUpgrader.upgrade(msg.getConfiguration());
}
}
else {
// we could parse the XML but have no model version? Is this security config at all?
throw new UnsupportedConfigurationVersionException(modelVersion, file);
}
upgrader = upgraders.get(msg.getModelVersion());
}
log.info("Security configuration file upgraded to current version " + msg.getModelVersion()
+ " succesfully.");
return (Configuration) msg.getConfiguration();
}
else {
// we could parse the XML but have no model version? Is this security config at all?
throw new UnsupportedConfigurationVersionException(modelVersion, file);
}
}