- URL:https://<config-url>/testIdentityStore(POST only)
- Required Capability:Default administrator role | Security and infrastructure privilege
- Version Introduced:10.3
Description
This operation can be used to test the connection to a user or group store.
Request parameters
| Parameters | Details |
|---|---|
| userStoreConfig | Specifies the user store properties. This operations accepts as input all the parameters as defined for the Update Identity Store operation. Example |
| groupStoreConfig | Specifies the group store properties. This operations accepts as input all the parameters as defined for the Update Identity Store operation. Example |
| f | The response format. The default is html. Values: html | json | pjson |
Example usage
Below is a sample request URL for testIdentityStore, formatted for readability:
POST /webadaptor/portaladmin/security/config/testIdentityStore HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
userStoreConfig={
"type": "WINDOWS",
"properties": {
"userPassword": "secret",
"isPasswordEncrypted": "false",
"user": "mydomain\\winaccount",
"userFullnameAttribute": "displayName",
"userEmailAttribute": "mail",
"userGivenNameAttribute": "givenName",
"userSurnameAttribute": "sn",
"caseSensitive": "false"
}
}&groupStoreConfig={
"type": "WINDOWS",
"properties": {
"isPasswordEncrypted": "true"
}
}&f=jsonJSON Response example
{"status": "success"}