core/cas-server-core-configuration/src/main/java/org/apereo/cas/configuration/support/Beans.java
/**
     * New dn resolver entry resolver.
     *
     * @param l the ldap settings
     * @return the entry resolver
     */
New dn resolver entry resolver.
@param l the ldap settings
@return the entry resolver
New dn resolver entry resolver . @param l the ldap settings @return the entry resolver
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(Beans.newPooledConnectionFactory(l));
        return entryResolver;
    }
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 ( Beans . newPooledConnectionFactory ( l ) ) ; return entryResolver ; }
New dn resolver entry resolver.
New dn resolver entry resolver .