- URL:
- https://<root>/security/config/testIdentityStore
- Methods:
POST
- Required Capability:
- Access allowed with the "Security and Infrastructure" privilege
- Version Introduced:
- 10.3
Description
The test
operation tests the connection to a user or group store.
Request parameters
Parameters | Details |
---|---|
| Specifies the user store properties. This operations accepts as input all the properties as defined for the Update Identity Store operation. Example
|
| Specifies the group store properties. This operations accepts as input all the properties as defined for the Update Identity Store operation. Example
|
| The response format. The default is Values: |
Example usage
The following is a sample POST request for the test
operation:
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=pjson
JSON Response example
{"status": "success"}