if(sessionPassword == null) {
ServConfig sc = manager.find(ServConfig.class,
ConfigParametrAbstract.ID_LDAP_USE);
String use = (sc == null) ? "false" : sc.getStrvalue();
useLDAP = Boolean.parseBoolean(use);
sessionPassword = new SessionPassword(useLDAP);
}
return sessionPassword.getEncryptor();
}