You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by lu...@apache.org on 2015/02/14 18:41:34 UTC

svn commit: r1659823 - /directory/site/trunk/content/api/user-guide/2.10-ldap-connection-template.mdtext

Author: lucastheisen
Date: Sat Feb 14 17:41:33 2015
New Revision: 1659823

URL: http://svn.apache.org/r1659823
Log:
added documentation for using filter builder with ldapconnectiontemplate

Modified:
    directory/site/trunk/content/api/user-guide/2.10-ldap-connection-template.mdtext

Modified: directory/site/trunk/content/api/user-guide/2.10-ldap-connection-template.mdtext
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/api/user-guide/2.10-ldap-connection-template.mdtext?rev=1659823&r1=1659822&r2=1659823&view=diff
==============================================================================
--- directory/site/trunk/content/api/user-guide/2.10-ldap-connection-template.mdtext (original)
+++ directory/site/trunk/content/api/user-guide/2.10-ldap-connection-template.mdtext Sat Feb 14 17:41:33 2015
@@ -208,12 +208,12 @@ It is also natural to pair the search fu
     ...
 
         Muppet kermit = ldapConnectionTemplate.search( 
-	    "ou=muppets,dc=muppets,dc=org", 
+           "ou=muppets,dc=muppets,dc=org", 
             or(
-	        equal( "mail", "kermitthefrog@muppets.org" ), 
-	        equal( "mail", "misspiggy@muppets.org" ) ), 
-	    SearchScope.ONELEVEL,
-	    muppetEntryMapper );
+                equal( "mail", "kermitthefrog@muppets.org" ), 
+                equal( "mail", "misspiggy@muppets.org" ) ), 
+            SearchScope.ONELEVEL,
+            muppetEntryMapper );
 
 This has the added benefit of ensuring that your search filter has been property encoded per [RFC4515 section 3](https://tools.ietf.org/html/rfc4515.html#section-3).