Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

Parameter

Description

Default value

ldapPort

the port number ApacheDS will listen to via LDAP

10389

workingDirectory

the working directory where ApacheDS stores its data

"catalina.home/apacheDsWorkingDir

 

 

"

userSearchBase

search base used for user searches

"ou=system"

userSearchFilter

filter expression used for user searches

"(&(objectClass=inetOrgPerson)(uid={0}))"

groupSearchBase

search base used for group searches

"ou=system"

groupSearchFilter

filter expression used for group searches

"(&(objectClass=groupOfNames)(member={0}))"

Example:

Code Block

<Realm 
  className="org.apache.directory.tomcatrealm.EmbeddedApacheDsRealm" 
  ldapPort="389"
  userSearchBase="ou=users,ou=system"
  groupSearchBase="ou=users,ou=system"
/>

How to use it

Feel free to check it out and provide feedback. Further discussions about whether we provide this as official artifact will be on the dev-list of Apache Directory project.