ldap.conf
The content below is only available in English.
This file is configured using XML syntax.
Parameters | Possible values | Description | Available from | |
---|---|---|---|---|
as variable name in the config file | as environment variable with namespace "planta__server__" as prefix | |||
ldap:context-source | ||||
url | ldap__service__url | ldaps://your.ldap.url:port | Url for DirectoryService, preceded by the protocol and ending with the port | |
base | ldap__service__base | ou=user,DC=ldap,DC=url | The base to start in the DirectoryService | |
userDn | ldap__service__userDn | maxservice@yourldap.url | A service user for the DirectoryService to have access to it | |
password | ldap__service__password | mysecretpassphrase | The password for the service user | |
baseEnvironmentProperties | ldap__service__java__naming__ldap__attributes__binary | Map | A list of properties that are passed on to LDAP. The listed attributes for the If there is more than one attribute, they must be separated by spaces, e.g.:
In the case of the environment variable, only a String must be assigned, e.g. ' | S 39.5.34 |
bean:ldapConfig | ||||
ldapUserFilter | ldap__attributes__ldapUserFilter | String | A hardcoded filter to narrow down the search area These are the recommended PLANTA groups to assign users to roles from the DirectoryService. Each of these groups references a role in PLANTA project: | |
ldapSearchScope | ldap__attributes__ldapSearchScope | {SUBTREE / OBJECT / ONELEVEL} | The search scope for searches | S 39.5.34 |
plantaUserData | ldap__attributes__plantaUserData | Map | A list of all LDAP attributes that are written into the DB when a user logs in or by a query_user_data. They are listed as key - value pairs. The key that is flagged with The key that is flagged with At the moment, only text attributes are allowed, except for the For example:
In the case of the environment variable a Array of Strings has to be assigned, e.g. | S 39.5.34 |
ldapUserDN | String | Attribute name that contains the distinguished name | Up to S 39.5.31 | |
ldapUserId | String | Attribute name to add to the ldapUserFilter to search the user | Up to S 39.5.31 | |
plantaUserId | String | Attribute name which contains the user name that is forwarded to the login method | Up to S 39.5.31 | |
ldap:ldap-template | ||||
search-scope | {SUBTREE / ONELEVEL / OBJECT} | The search scope for searches | Up to S 39.5.31 |