presto-password-authenticators/src/main/java/io/prestosql/plugin/password/LdapAuthenticator.java/LdapAuthenticator/createPrincipal
class LdapAuthenticator:    private String createPrincipal(String user)
    {
        return replaceUser(userBindSearchPattern, user);
    }