The code of this module is tested in tests/test_api_system.py
The resolver endpoints is a subset of the system endpoint.
Return: | a json result with True, if the given values can create a |
---|
working resolver and a description.
returns a json list of all resolver.
Parameters: |
|
---|
This creates a new resolver or updates an existing one. A resolver is uniquely identified by its name.
If you update a resolver, you do not need to provide all parameters. Parameters you do not provide are left untouched. When updating a resolver you must not change the type! You do not need to specify the type, but if you specify a wrong type, it will produce an error.
Parameters: |
|
---|
ldapresolver, sqlresolver, scimresolver :type type: string :return: a json result with the value being the database id (>0)
Additional parameters depend on the resolver type.
- LDAP:
- LDAPURI LDAPBASE BINDDN BINDPW TIMEOUT SIZELIMIT LOGINNAMEATTRIBUTE LDAPSEARCHFILTER LDAPFILTER USERINFO NOREFERRALS - True|False
- SQL:
- Database Driver Server Port User Password Table Map
- Passwd
- Filename
this function deletes an existing resolver A resolver can not be deleted, if it is contained in a realm
Parameters: |
|
---|---|
Return: | json with success or fail |
This function retrieves the definition of a single resolver. If can be called via /system/getResolver?resolver= or via /resolver/<resolver>
Parameters: |
|
---|---|
Return: | a json result with the configuration of a specified resolver |