Liferay OSGi Config Generator
Generate Liferay OSGi .config files for osgi/configs. Pick a component for a typed property form, or use custom mode for any PID. Correct Felix format.
1. Choose a component
2. Configure properties
LDAP server URL, e.g. ldap://hostname:389.
StringBase distinguished name where user nodes are located.
StringAdministrator bind DN used to connect to the directory.
StringPassword for the bind DN (principal).
StringAdd another property
3. Generated com.liferay.portal.security.ldap.configuration.LDAPServerConfiguration.config
Drop this file into [Liferay Home]/osgi/configs/.
Prefer the plain .cfg format? (com.liferay.portal.security.ldap.configuration.LDAPServerConfiguration.cfg)
The .config format is preferred — it carries types and supports multi-valued properties. Use .cfg only for simple scalar values.
Liferay LDAP Server OSGi Configuration
Connection settings for an external LDAP/Active Directory server. This is a factory configuration — one file per server.
PID: com.liferay.portal.security.ldap.configuration.LDAPServerConfigurationfactory configuration
Properties
| Property | Type | Default | Description |
|---|---|---|---|
| baseProviderURL | String | ldap://localhost:10389 | LDAP server URL, e.g. ldap://hostname:389. |
| baseDN | String | dc=example,dc=com | Base distinguished name where user nodes are located. |
| principal | String | uid=admin,ou=system | Administrator bind DN used to connect to the directory. |
| credentials | String | — | Password for the bind DN (principal). |
These are the common, verified properties. Add any others for this PID with the custom-property row in the form above, then drop the file into [Liferay Home]/osgi/configs.