private static AuthenticationHandler getBindAuthenticationHandler(final ConnectionFactory factory) {
        return new SimpleBindAuthenticationHandler(factory);
    }
Gets authenticated authenticator.

@param properties the lDAP properties
@return the authenticated or anon search authenticator
support/cas-server-support-ldap-core/src/main/java/org/apereo/cas/util/LdapUtils.java