The UserProvider
instances are configured in the
properties/corem/
contentserver.properties
file. Here is an example configuration for an Active Directory Server:
cap.server.ldap.1.class= com.coremedia.ldap.ad.ActiveDirectoryUserProvider cap.server.ldap.1.properties=properties/corem/jndi-ad.properties
Example 3.9. Example for Active Directory Server
The first property configures the UserProvider
class. The second property refers to a property file
holding the provider configuration. Further providers can be added by incrementing the index value in the
property keys. The following example shows the configuration of two providers:
cap.server.ldap.1.class= com.coremedia.ldap.ad.ActiveDirectoryUserProvider cap.server.ldap.1.properties=properties/corem/jndi-ad.properties cap.server.ldap.2.class=com.mycom.AnotherUserProvider cap.server.ldap.2.properties= properties/corem/another_provider.properties
Example 3.10. Configuration of two providers
The following sections introduce some predefined user providers classes.