public static boolean isLdapAuthenticationConfigured(final AbstractLdapAuthenticationProperties prop) {
        return prop.getType() != null && StringUtils.isNotBlank(prop.getLdapUrl());
    }
Is ldap authentication configured?.

@param prop the prop
@return true/false
support/cas-server-support-ldap-core/src/main/java/org/apereo/cas/util/LdapUtils.java