Skip to content

Commit

Permalink
docu
Browse files Browse the repository at this point in the history
  • Loading branch information
rsoika committed Feb 19, 2025
1 parent 26eabbd commit 041f378
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions imixs-adapters-ldap/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,23 @@ The LDAP connection can either be configured as a JNDI Ressource with the name `
Die Search Configuration erfolgt über die `imixs.properties` Datei

| Variable | Description | Example |
| -------------------------------- | ------------------------------------------------------ | ------------------------------------------------------------------- | ------------ | ------------- | -------------------- | ----------- |
| -------------------------------- | ------------------------------------------------------ | ------------------------------------------------------------------- |
| ldap.disable-jndi | Disable JNDI lookup | false |
| ldap.search-context | Search Context | DC=intern,DC=ib-vassen,DC=de |
| ldap.dn-search-filter | Suche nach UserID | (sAMAccountName=%u) |
| ldap.group-search-filter | (Optionale Gruppen Suche) | (member=%d) |
| ldap.search-filter-phrase | LDAP Search query | (& (objectClass=user) (mail=\*) ((name=?_)(mail=?_)(cn=?_)(sn=?_))) |
| ldap.user-attributes | Mapping for LDAP Attribute zu Imixs Profile Attributen | sAMAccountName | txtname,mail | txtemail,name | txtUserName,initials | txtInitials |
| ldap.user-attributes | Mapping for LDAP Attribute zu Imixs Profile Attributen | |
| ldap.cache-expires | Disable Search | 3600000 |
| ldap.cache-size | cache size | 100 |
| java.naming.provider.url | Host | false |
| java.naming.security.principal | User | false |
| java.naming.security.credentials | Password | false |

The attirbute mapping is defined by useing the '|' char to separate the ldap attribute name from the imixs profile item name - e.g

sAMAccountName|txtname, mail|txtemail, name|txtUserName, initials|txtInitials

### External Configuration File

The LDAP configuration can also be configured in an external configuration file (e.g. in a Container environment). The location of this file can be defined by a environment variable named `LDAP_LOOKUP_CONFIG`. If no external config file exists, the configuration is read from the `imixs.properties` file.
Expand Down

0 comments on commit 041f378

Please sign in to comment.