Registers a batch of application connections.
Collection<Integer> registerApplicationConnections(templateName, registrationRequests, Map settings) throws SUPAdminException;
If successful, returns silently. If unsuccessful, returns SUPAdminException.
AppConnectionRegistrationRequestVO acrrvo1 = new AppConnectionRegistrationRequestVO(); AppConnectionRegistrationRequestVO acrrvo2 = new AppConnectionRegistrationRequestVO(); Map<APPCONNECTION_REGISTRATION, Object> req1 = new HashMap<APPCONNECTION_REGISTRATION, Object>(); req1.put(APPCONNECTION_REGISTRATION.USER_ID, contextFactory.getProperty("sup.app.user.1")); req1.put(APPCONNECTION_REGISTRATION.ACTIVATION_CODE, "1234"); req1.put(APPCONNECTION_REGISTRATION.EXPIRATION_HOUR, "1"); acrrvo1.setRequest(req1); Map<APPCONNECTION_REGISTRATION, Object> req2 = new HashMap<APPCONNECTION_REGISTRATION, Object>(); req2.put(APPCONNECTION_REGISTRATION.USER_ID, contextFactory.getProperty("sup.app.user.2")); req2.put(APPCONNECTION_REGISTRATION.ACTIVATION_CODE, "5678"); req2.put(APPCONNECTION_REGISTRATION.EXPIRATION_HOUR, "1"); acrrvo2.setRequest(req2); Collection<AppConnectionRegistrationRequestVO> reqs = new ArrayList<AppConnectionRegistrationRequestVO>(); reqs.add(acrrvo1); reqs.add(acrrvo2); AppConnectionSettingVO settings = new AppConnectionSettingVO(); Map<APPCONNECTION_SETTING_FIELD, Object> setting = new HashMap<APPCONNECTION_SETTING_FIELD, Object>(); setting.put(APPCONNECTION_SETTING_FIELD.SECURITY_CONF, contextFactory.getProperty("sup.secconf.1")); setting.put(APPCONNECTION_SETTING_FIELD.ALLOW_ROAMING, "true"); setting.put(APPCONNECTION_SETTING_FIELD.SERVER_NAME, "localhost"); settings.setSetting(setting); app.registerApplicationConnections(templateName, reqs, settings);