String msg = intres.getLocalizedMessage("userdatasource.addedsource", name);
logSession.log(admin, admin.getCaId(), LogConstants.MODULE_RA, new java.util.Date(), null, null, LogConstants.EVENT_INFO_USERDATASOURCEDATA, msg);
} else {
String msg = intres.getLocalizedMessage("userdatasource.erroraddsource", name);
logSession.log(admin, admin.getCaId(), LogConstants.MODULE_RA, new java.util.Date(), null, null, LogConstants.EVENT_ERROR_USERDATASOURCEDATA, msg);
throw new UserDataSourceExistsException();
}
} else {
String msg = intres.getLocalizedMessage("userdatasource.errornotauth", name);
logSession.log(admin, admin.getCaId(),LogConstants.MODULE_RA,new Date(),null,null,LogConstants.EVENT_ERROR_NOTAUTHORIZEDTORESOURCE,msg);
}