initializeDBAttributes(db, strKey, domainConfig.getName(), firstLevelDBOptions);
// Inject domain authentication module
if (domainConfig.getAuthModule() != null) {
try {
db.setAuthenticationModule(new DomainRedirectionAuthModule(this, domainConfig.getName()));
}
catch (WGIllegalArgumentException e) {
String message = "Exception setting authentication module of " + dbType + " '" + strKey + "'";
getLog().error(message, e);
getLog().error("Cancelling connection of " + dbType + " '" + strKey + "' because the configured authentication could not be set");