public static String getString(final LdapEntry entry, final String attribute) {
        return getString(entry, attribute, null);
    }
Reads a String value from the LdapEntry.

@param entry     the ldap entry
@param attribute the attribute name
@return the string
support/cas-server-support-ldap-core/src/main/java/org/apereo/cas/util/LdapUtils.java