No Results
Get LDAP Connection

EdgeCore version: 4.3.2

Method

GET /public/ldap/{ldapName}

Used to retrieve a specific LDAP connection.

Parameters

Name Type Description Mandatory
ldapName
string Name of the connection you want to retrieve Yes

 

cURL example

curl --location --request GET 'http://localhost:8080/public/ldap/EDGELDAP22' \
--header 'edgeApiKey: YWRtaW5AZGVmYXVsdHx3IDNHe2tMZTYhMkZkO3J3cipDaSZUdio5' 

Example Response

{
    "doClass": "AccountAdapterConfigDO",
    "id": "08a693-0h5otl4073rb",
    "properties": {
        "doClass": "PropertyBundleDO",
        "propertyValues": [
            {
                "doClass": "PropertyValueDO",
                "propertyDefName": "groupAttribute",
                "propertyTypeName": "String",
                "boundToParameter": false,
                "value": "cn",
                "metaJson": null
            },
            {
                "doClass": "PropertyValueDO",
                "propertyDefName": "port",
                "propertyTypeName": "Integer",
                "boundToParameter": false,
                "value": 389,
                "metaJson": null
            },
            {
                "doClass": "PropertyValueDO",
                "propertyDefName": "useGroup",
                "propertyTypeName": "Boolean",
                "boundToParameter": false,
                "value": true,
                "metaJson": null
            },
            {
                "doClass": "PropertyValueDO",
                "propertyDefName": "credentials",
                "propertyTypeName": "Credentials",
                "boundToParameter": false,
                "value": "{\"doClass\":\"CredentialSetDO\",\"isParameter\":false,\"credentials\":[{\"doClass\":\"CredentialPairDO\",\"key\":\"Username\",\"value\":{\"doClass\":\"SpStringValueDO\",\"isParameter\":false,\"primitiveValue\":\"CN=Administrator,CN=Users,DC=aws,DC=edgeti,DC=com\"},\"hidden\":false,\"required\":false},{\"doClass\":\"CredentialPairDO\",\"key\":\"Password\",\"value\":{\"doClass\":\"SpEncryptedStringValueDO\",\"isParameter\":false,\"plainValue\":\"UNUSED\",\"encryptedValue\":\"#default!63lABR0SLsjoekWFOAn7L8tBRXiCK3OWkg0/k3TqkeZc3Ew4I5FW0Ih9smeBSDw1\"},\"hidden\":true,\"required\":false}]}",
                "metaJson": null
            },
            {
                "doClass": "PropertyValueDO",
                "propertyDefName": "groupSearchFilter",
                "propertyTypeName": "String",
                "boundToParameter": false,
                "value": "(&(objectCategory=group)(member=*))",
                "metaJson": null
            },
            {
                "doClass": "PropertyValueDO",
                "propertyDefName": "name",
                "propertyTypeName": "String",
                "boundToParameter": false,
                "value": "EDGELDAP22",
                "metaJson": null
            },
            {
                "doClass": "PropertyValueDO",
                "propertyDefName": "host",
                "propertyTypeName": "String",
                "boundToParameter": false,
                "value": "dev-ad.edge.internal",
                "metaJson": null
            },
            {
                "doClass": "PropertyValueDO",
                "propertyDefName": "type",
                "propertyTypeName": "String",
                "boundToParameter": false,
                "value": "Active Directory",
                "metaJson": null
            },
            {
                "doClass": "PropertyValueDO",
                "propertyDefName": "useSsl",
                "propertyTypeName": "Boolean",
                "boundToParameter": false,
                "value": false,
                "metaJson": null
            },
            {
                "doClass": "PropertyValueDO",
                "propertyDefName": "groupSearchString",
                "propertyTypeName": "String",
                "boundToParameter": false,
                "value": "DC=aws,DC=edgeti,DC=com",
                "metaJson": null
            }
        ]
    },
    "configTypeName": "LDAP-shared-Active Directory"
}

 

HTTP Response

Code Status Description
200 OK The request has succeeded.
404 Not Found The adapter configuration could not be found.

Terms | Privacy