Updates the settings of a list of application connections.
void updateApplicationConnectionSettings(Collection<Integer> numericIds, Map settings) throws SUPAdminException;
If successful, returns silently. If unsuccessful, returns SUPAdminException.
PaginationResult<ApplicationConnectionVO> result = app
.getApplicationConnections(filter, 0L, NULL);
Collection<Integer> appConnIds = new ArrayList<Integer>();
for (ApplicationConnectionVO appConn : result.getItems()) {
appConnIds.add(appConn.getNumericId());
}
AppConnectionSettingVO settings = new AppConnectionSettingVO();
Map<APPCONNECTION_SETTING_FIELD, Object> setting = new HashMap<APPCONNECTION_SETTING_FIELD, Object>();
setting.put(APPCONNECTION_SETTING_FIELD.SECURITY_CONF, "admin");
settings.setSetting(setting);
app.updateApplicationConnectionSettings(appConnIds, settings);