Test Ldap Connection
This API can be used to test the connectivity as well as autheticity of the LDAP server.
Show optional properties
{
"action": "string",
"connectionUrl": "string",
"authType": "string",
"useTruststoreSpi": "string",
"bindCredential": "string"
}
{
"action": "string",
"connectionUrl": "string",
"authType": "string",
"useTruststoreSpi": "string",
"connectionTimeout": "number",
"bindCredential": "string"
}
testConnection performs simple connectivity test with the LDAP server, where testAuthentication is used for performing authetication test.
LDAP server connection url.
Type of Authetication method used during ldap bind operation.
Specified wheather LDAP connection will use the truststore SPI with the truststore configured in standalone.xml/domain.xml. Always means it will always use it, never means it will not use it, and only for LDAP means, it will use it, if connection url uses ldap.
LDAP connection timeout in milli seconds.
Password of LDAP admin.
Successful
Cannot find requested resource
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"action:"string","connectionUrl:"string","authType:"string","useTruststoreSpi:"string","bindCredential:"string"}' https://{api_host}/tcsa/api/auth-management/v1/testLDAPConnection