public static EntryResolver newSearchEntryResolver ( final LdapAuthenticationProperties l ) { final PooledSearchEntryResolver entryResolver = new PooledSearchEntryResolver ( ) ; entryResolver . setBaseDn ( l . getBaseDn ( ) ) ; entryResolver . setUserFilter ( l . getUserFilter ( ) ) ; entryResolver . setSubtreeSearch ( l . isSubtreeSearch ( ) ) ; entryResolver . setConnectionFactory ( LdaptiveAuthenticatorBuilder . newPooledConnectionFactory ( l ) ) ; return entryResolver ; }
New dn resolver entry resolver .