void (@NotNull Command command) { if (myAuthentication instanceof CertificateAuthenticationData auth) { // TODO: Seems that config option should be specified for concrete server and not for global group. // as in that case it could be overriden by settings in config file command.put("--config-option"); command.put("servers:global:ssl-client-cert-file=" + auth.getCertificatePath()); command.put("--config-option"); command.put("servers:global:ssl-client-cert-password=" + auth.getCertificatePassword()); if (!auth.isStorageAllowed()) { command.put("--no-auth-cache"); } } }