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

Description

Updates the location and properties for the user and role store in your ArcGIS Server site.

While the GIS server does not perform authentication when the authentication tier selected is WEB_ADAPTOR, it requires access to the role store for the administrator to assign privileges to the roles. This operation causes the SOAP and REST service endpoints to be redeployed (with the new configuration) on every server machine in the site, and therefore this operation must be used judiciously.

The table below describes the supported combinations for the user and role stores:

Users\Roles Built-in Windows LDAP
Built-in Supported
Windows Supported Supported (same instane)
LDAP Supported Supported (same instance)

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/updateIdentityStore
	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": {}
	}