This bundle wraps the Apache Directory Service libraries and starts the server as an OSGi service.
This service is also registered as ManagedService to receive configuration data from the OSGi ConfigAdmin service. Each time a new configuration is delivered the server is restarted.
Browse source code here.
See the quickstart guide for details on how to start the ApacheDS server.
| Group id: | org.ops4j.pax.ldapserver |
| Artifact id: | pax-ldapserver-apacheds |
| Symbolic name: | org.ops4j.pax.ldapserver.pax-ldapserver-apacheds |
| Version: | 0.0.1-SNAPSHOT |
The bundle is configured via the OSGi ConfigAdmin service. Its PID and all its configuration options are defined in the ApacheDSConfiguration interface.
Main Options
| Name | Default | Example | Purpose |
| org.ops4j.pax.ldapserver.apacheds.data.dir | null | ./configuration | The path of the directory containing the .ldif files to load on startup. |
| org.ops4j.pax.ldapserver.apacheds.ldap.server.port | 8099 | The port the server is using. | |
| org.ops4j.pax.ldapserver.apacheds.allowAnonAccess | false | If set to true the server allows anonymous access. Should be set to false in production environments. | |
| org.ops4j.pax.ldapserver.apacheds.partitions | null | ops4j, anotherPartition | A comma separated list of names of partitions which are initially available. Each partition must be defined by specifying a partition definition option as described below. |
Partition Definition
For each partition the configuration must contain those entries:
| Name | Example Value | Purpose |
| org.ops4j.pax.ldapserver.apacheds.partition.dn.<partition-name> | dc=ops4j,dc=org | The distinguished name of the partition. |