private static void writeInternalConfig(int n, Boolean ssl, Boolean basicAuth, String username, String password, String[] ipList, PrintWriter writer) { writer.print(" <" + _CONFIG); writeAttribute(_ROLE, _INTERNAL_PREFIX + n, writer); writeAttribute(_CALLSSL, ssl, writer); writeAttribute(_CALLBASICAUTH, basicAuth, writer); writeAttribute(_CALLUSERNAME, username, writer); writeAttribute(_CALLPASSWORD, password, writer); writeAttribute(_CALLBACKSSL, ssl, writer); writeAttribute(_CALLBACKBASICAUTH, basicAuth, writer); writeAttribute(_IPLIST, ipList, writer); writer.println("/>"); }
private static void writeInternalConfig(int n, Boolean ssl, Boolean basicAuth, String username, String password, String[] ipList, PrintWriter writer) { writer.print(" <" + _CONFIG); writeAttribute(_ROLE, _INTERNAL_PREFIX + n, writer); writeAttribute(_CALLSSL, ssl, writer); writeAttribute(_CALLBASICAUTH, basicAuth, writer); writeAttribute(_CALLUSERNAME, username, writer); writeAttribute(_CALLPASSWORD, password, writer); writeAttribute(_CALLBACKSSL, ssl, writer); writeAttribute(_CALLBACKBASICAUTH, basicAuth, writer); writeAttribute(_IPLIST, ipList, writer); writer.println("/>"); }
writeAttribute(_ROLE, config.getRole(), writer); writeAttribute(_CALLSSL, config.getCallSSL(), writer); writeAttribute(_CALLBASICAUTH, config.getCallBasicAuth(), writer); writeAttribute(_CALLUSERNAME, config.getCallUsername(), writer); writeAttribute(_CALLPASSWORD, config.getCallPassword(), writer); writeAttribute(_CALLBACKSSL, config.getCallbackSSL(), writer); writeAttribute(_CALLBACKBASICAUTH, config.getCallbackBasicAuth(), writer); writeAttribute(_IPLIST, config.getIPList(), writer);
writeAttribute(_ROLE, config.getRole(), writer); writeAttribute(_CALLSSL, config.getCallSSL(), writer); writeAttribute(_CALLBASICAUTH, config.getCallBasicAuth(), writer); writeAttribute(_CALLUSERNAME, config.getCallUsername(), writer); writeAttribute(_CALLPASSWORD, config.getCallPassword(), writer); writeAttribute(_CALLBACKSSL, config.getCallbackSSL(), writer); writeAttribute(_CALLBACKBASICAUTH, config.getCallbackBasicAuth(), writer); writeAttribute(_IPLIST, config.getIPList(), writer);