FRAMES | NO FRAMES Description | Parameters | Example
URL:http://server:port/arcgis/admin/security/config/testIdentityStore
HTTP Method:POST
Parent Resource: Security Configuration
Required Privileges:Administrator

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.

Parameters

Parameter Description
userStoreConfig The JSON object representing the user store configuration
roleStoreConfig The JSON object representing the role store configuration
f The response format. The default response format is html.
Values: html | json

Example

	http://server:port/arcgis/admin/security/config/testIdentityStore
	userStoreConfig={
		"type": "LDAP",
  		"properties": {
			"ldapURLForUsers": 
				"ldap://server/dc=example,dc=com???(|(objectClass=userProxy)(objectClass=user))?",
  			"ldapURLForRoles": 
				"ldap://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": {}
	}