anchor.diff:  ----
   <bean id="contextSource"
   		class="org.springframework.security.ldap.DefaultSpringSecurityContextSource">
  -<constructor-arg value="ldap://monkeymachine:389/dc=springframework,dc=org"/>
  -<property name="userDn" value="cn=manager,dc=springframework,dc=org"/>
  -<property name="password" value="password"/>
  +    <constructor-arg value="ldap://monkeymachine:389/dc=springframework,dc=org"/>
  +    <property name="userDn" value="cn=manager,dc=springframework,dc=org"/>
  +    <property name="password" value="password"/>
   </bean>
   
   <bean id="ldapAuthProvider"
  -	class="org.springframework.security.ldap.authentication.LdapAuthenticationProvider">
  -<constructor-arg>
  -<bean class="org.springframework.security.ldap.authentication.BindAuthenticator">
  -	<constructor-arg ref="contextSource"/>
  -	<property name="userDnPatterns">
  -	<list><value>uid={0},ou=people</value></list>
  -	</property>
  -</bean>
  -</constructor-arg>
  -<constructor-arg>
  -<bean
  -	class="org.springframework.security.ldap.userdetails.DefaultLdapAuthoritiesPopulator">
  -	<constructor-arg ref="contextSource"/>
  -	<constructor-arg value="ou=groups"/>
  -	<property name="groupRoleAttribute" value="ou"/>
  -</bean>
  -</constructor-arg>
  +	    class="org.springframework.security.ldap.authentication.LdapAuthenticationProvider">
  +    <constructor-arg>
  +        <bean class="org.springframework.security.ldap.authentication.BindAuthenticator">
  +	        <constructor-arg ref="contextSource"/>
  +	        <property name="userDnPatterns">
  +	            <list><value>uid={0},ou=people</value></list>
  +	        </property>
  +        </bean>
  +    </constructor-arg>
  +    <constructor-arg>
  +        <bean class="org.springframework.security.ldap.userdetails.DefaultLdapAuthoritiesPopulator">
  +            <constructor-arg ref="contextSource"/>
  +            <constructor-arg value="ou=groups"/>
  +            <property name="groupRoleAttribute" value="ou"/>
  +        </bean>
  +    </constructor-arg>
   </bean>
   ----
   
  
positive.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.
  
negative.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>
  ----
  
  