String resourcePath = templates.toResourcePath(this, "conf/ldap.xml");
String contents = templates.runTemplate(resourcePath, vars);
FileUpload.upload(target, new File(confDir, "ldap.xml"), contents);
}
target.chown(sonatypeDir, "jetty", "jetty", true, false);
}
private String encryptNexusPassword(String ldapPassword) throws OpsException {
NexusLdapPasswords nexusLdapPasswords = new NexusLdapPasswords();
nexusLdapPasswords.addEscapeCharacters = false;