Test Identity Store

  • URL:http://server:port/arcgis/admin/security/config/testIdentityStore (POST only)
  • Required Capability:Administrator
  • Version Introduced:10.1

Description

This operation tests the connection to the input user and role store. If this operation returns an error then the server will not accept the connections and you will need to repair them.

The operation will only test the connection without any change to current user and role connections.

Request Parameters

ParameterDetails
userStoreConfig

Description: The JSON object representing the user store configuration.

roleStoreConfig

Description: The JSON object representing the role store configuration.

f

Description: The response format. The default response format is html.

Values: html | json

Example Usage

http://server:port/arcgis/admin/security/config/testIdentityStore
 userStoreConfig={
    "type": "LDAP",
    "properties": {
        "ldapURLForUsers": "ldaps://server/dc=example,dc=com???(|(objectClass=userProxy)(objectClass=user))?",
        "ldapURLForRoles": "ldaps://server/dc=example,dc=com???(&(objectClass=group))?",
        "memberAttributeInRoles": "member",
        "usernameAttribute": "name",
        "rolenameAttribute": "name",
        "adminUser": "cn=admin,cn=users,dc=example,dc=com",
        "adminUserPassword": "admin"
    }
}
 roleStoreConfig={
    "type": "BUILTIN",
    "properties": {}
}