anchor.diff:  ----
   public interface UserDetailsContextMapper {
   
  -UserDetails mapUserFromContext(DirContextOperations ctx, String username,
  -		Collection<GrantedAuthority> authorities);
  -
  -void mapUserToContext(UserDetails user, DirContextAdapter ctx);
  +    UserDetails mapUserFromContext(DirContextOperations ctx, String username,
  +	    	Collection<GrantedAuthority> authorities);
  +
  +    void mapUserToContext(UserDetails user, DirContextAdapter ctx);
   }
   ----
   
  
positive.code: ----
  
  <bean id="userSearch"
  	class="org.springframework.security.ldap.search.FilterBasedLdapUserSearch">
  <constructor-arg index="0" value=""/>
  <constructor-arg index="1" value="(uid={0})"/>
  <constructor-arg index="2" ref="contextSource" />
  </bean>
  ----
  
  
negative.code: [source,xml]
  ----
  <ldap-authentication-provider user-search-filter="(uid={0})"
  	    user-search-base="ou=people"/>
  ----
  
  If used with the server definition above, this would perform a search under the DN `ou=people,dc=springframework,dc=org` using the value of the `user-search-filter` attribute as a filter.
  