Get LDAP Configuration

get

/api/v1/configuration/ldapConfig/{id}

Gets the LDAP configuration.

Request

Supported Media Types
Path Parameters
Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : LdapConfigDetail
Type: object
LDAP Configuration details
Show Source

400 Response

Bad Request

401 Response

Not authorized

404 Response

Invalid parameters
Back to Top

Examples

This endpoint is used to get the details of a specific LDAP configuration in your Blockchain platform.

The following example shows how to generate the LDAP configuration report by submitting a GET request on the REST resource using cURL.

curl -X GET \
  http://<hostname>:<port>/api/v1/configuration/ldapConfig/<unique LDAP config identifier>

For example,

curl -X GET \
  http://localhost:17070/api/v1/configuration/ldapConfig/a455c6ab-dc36-4553-90c4-bbbb3532bc50

Example of the Response Body

The following example shows the contents of the response body in JSON format:

{
    "ldapId": "a455c6ab-dc36-4553-90c4-bbbb3532bc50",
    "ldapName": "localLDAP",
    "ldapType": "OpenLDAP",
    "ldapHost": "10.0.2.15",
    "ldapPort": 389,
    "ldapTLSEnabled": false,
    "ldapBaseDN": "dc=example,dc=org",
    "ldapBindDN": "cn=admin,dc=example,dc=org",
    "ldapBindPassword": "********",
    "userNameAttribute": "cn",
    "userClassName": "simpleSecurityObject",
    "groupNameAttribute": "cn",
    "groupMembershipAttribute": "member",
    "groupClassName": "groupOfNames",
    "connectTimeout": 30000
}
Back to Top