-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature/mx-1455-document-ldap-extractor (#33)
This adds general documentation for the ldap extractor. While reviewing the tests I noticed that they cover none of the convenience functions (ldap.extract). Should I create a ticket for that?
- Loading branch information
1 parent
57a7734
commit 7114ab7
Showing
6 changed files
with
49 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
Helper extractor to extract data from Lightweight Directory Access Protocol (LDAP). | ||
|
||
Common use cases: | ||
- extract employee accounts of your organization | ||
- extract functional accounts of your organization | ||
|
||
Possible queries are for example the account name, surname, given name, or email. | ||
|
||
# Configuration | ||
|
||
For configuring the ldap connection, set the settings parameter `ldap_url` | ||
(see `mex.common.settings` for further info) to an LDAP url (see | ||
[LDAP URL definition](https://datatracker.ietf.org/doc/html/rfc2255#section-3) for | ||
further information). | ||
|
||
# Extracting data | ||
|
||
Use the `LDAPConnector` from the `ldap.connector` module to extract data. | ||
|
||
# Transforming data | ||
|
||
The module `ldap.transform` contains functions for transforming LDAP data into MEx | ||
models. | ||
|
||
The `mex_person.stableTargetId` attribute can be used in any entity that requires a | ||
`PersonID`. | ||
|
||
# Convenience Functions | ||
|
||
The module `ldap.extract` holds convenience functions, e.g. for build a mapping from | ||
query strings to `stableTargetId`s. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters