private Map<String, List<Object>> convertLdapEntryToMap(final LdapEntry entry) {
        final Map<String, List<Object>> attributeMap = new LinkedHashMap<>(entry.size());
        for (final LdapAttribute attr : entry.getAttributes()) {
            attributeMap.put(attr.getName(), new ArrayList<Object>(attr.getStringValues()));
        }
        logger.debug("Converted ldap DN entry [{}] to attribute map {}", entry.getDn(), attributeMap.toString());
        return attributeMap;
    }
private Map < String , List < Object > > convertLdapEntryToMap ( final LdapEntry entry ) { final Map < String , List < Object > > attributeMap = new LinkedHashMap < > ( entry . size ( ) ) ; for ( final LdapAttribute attr : entry . getAttributes ( ) ) { attributeMap . put ( attr . getName ( ) , new ArrayList < Object > ( attr . getStringValues ( ) ) ) ; } logger . debug ( "Converted ldap DN entry [{}] to attribute map {}" , entry . getDn ( ) , attributeMap . toString ( ) ) ; return attributeMap ; }
Converts an ldaptive <code>LdapEntry</code> containing result entry attributes into an attribute map as needed
by Person Directory components.

@param entry Ldap entry.
@return Attribute map.