Content Server Manual / Version 2207
Table Of Contents
Here is a minimal example configuration for an Active Directory Server UserProvider
:
cap.server.userproviders[0].provider-class=\ com.coremedia.ldap.ad.ActiveDirectoryUserProvider cap.server.userproviders[0].java.naming.security.principal=\ CN=Administrator,CN=Users,DC=acme,DC=com cap.server.userproviders[0].java.naming.security.credentials=secret cap.server.userproviders[0].ldap.host=activedirectory.acme.com cap.server.userproviders[0].ldap.base-distinguished-names[0]=\ CN=Users,DC=acme,DC=com
Example 3.9. Example for Active Directory Server
The first property configures the UserProvider
class. The other properties
denote the account to use for connections, the hostname of the Active Directory Server,
and the distinguished names where to search for users and groups. Further distinguished names
can be added by incrementing the index value of base-distinguished-names
.
Further providers can be added by incrementing the index value of userproviders
.
The following example shows the configuration of another UserProvider
of
a custom class with some custom properties:
cap.server.userproviders[1].provider-class=com.acme.MyUserProvider cap.server.userproviders[1].properties[com.acme.a-configuration-property]=foo cap.server.userproviders[1].properties[com.acme.another-property]=bar
Example 3.10. Configuration of a second UserProvider
The following sections introduce some predefined user providers classes.