{
  "enabled": true,
  "excludeUnmodified": true,
  "connectorRef": {
    "bundleName": "org.forgerock.openicf.connectors.ldap-connector",
    "bundleVersion": "[1.4.0.0,1.6.0.0)",
    "connectorName": "org.identityconnectors.ldap.LdapConnector"
  },
  "configurationProperties": {
    "host": "directory.example.com",
    "port": 1636,
    "ssl": true,
    "principal": "uid=am-identity-bind-account,ou=admins,ou=identities",
    "credentials": "5up35tr0ng",
    "baseContexts": [
      "ou=identities"
    ],
    "baseContextsToSynchronize": [
      "ou=identities"
    ],
    "accountSearchFilter": null,
    "accountSynchronizationFilter": null,
    "groupSearchFilter": null,
    "groupSynchronizationFilter": null,
    "removeLogEntryObjectClassFromFilter": true,
    "modifiersNamesToFilterOut": [],
    "changeLogBlockSize": 100,
    "attributesToSynchronize": [],
    "changeNumberAttribute": "changeNumber",
    "filterWithOrInsteadOfAnd": false,
    "objectClassesToSynchronize": [
      "inetOrgPerson",
      "iplanet-am-user-service"
    ],
    "vlvSortAttribute": "uid",
    "passwordAttribute": "userPassword",
    "useBlocks": true,
    "maintainPosixGroupMembership": false,
    "failover": [],
    "readSchema": false,
    "accountObjectClasses": [
      "top",
      "person",
      "organizationalPerson",
      "inetOrgPerson",
      "iplanet-am-user-service"
    ],
    "accountUserNameAttributes": [
      "uid"
    ],
    "groupMemberAttribute": "uniqueMember",
    "passwordHashAlgorithm": null,
    "usePagedResultControl": true,
    "blockSize": 100,
    "uidAttribute": "entryUUID",
    "maintainLdapGroupMembership": false,
    "respectResourcePasswordPolicyChangeAfterReset": false
  },
  "resultsHandlerConfig": {
    "enableNormalizingResultsHandler": true,
    "enableFilteredResultsHandler": false,
    "enableCaseInsensitiveFilter": false,
    "enableAttributesToGetSearchResultsHandler": true
  },
  "poolConfigOption": {
    "maxObjects": 10,
    "maxIdle": 10,
    "maxWait": 150000,
    "minEvictableIdleTimeMillis": 120000,
    "minIdle": 1
  },
  "operationTimeout": {
    "CREATE": -1,
    "VALIDATE": -1,
    "TEST": -1,
    "SCRIPT_ON_CONNECTOR": -1,
    "SCHEMA": -1,
    "DELETE": -1,
    "UPDATE": -1,
    "SYNC": -1,
    "AUTHENTICATE": -1,
    "GET": -1,
    "SCRIPT_ON_RESOURCE": -1,
    "SEARCH": -1
  },
  "syncFailureHandler": {
    "maxRetries": 5,
    "postRetryAction": "logged-ignore"
  },
  "objectTypes": {
    "account": {
      "$schema": "http://json-schema.org/draft-03/schema",
      "id": "__ACCOUNT__",
      "type": "object",
      "nativeType": "__ACCOUNT__",
      "properties": {
        "dn": {
          "type": "string",
          "nativeName": "__NAME__",
          "nativeType": "string",
          "required": true
        },
        "objectClass": {
          "type": "array",
          "items": {
            "type": "string",
            "nativeType": "string"
          },
          "nativeType": "string",
          "nativeName": "objectClass",
          "required": false
        },
        "cn": {
          "type": "string",
          "nativeName": "cn",
          "nativeType": "string",
          "required": true
        },
        "sn": {
          "type": "string",
          "nativeName": "sn",
          "nativeType": "string",
          "required": true
        },
        "uid": {
          "type": "array",
          "nativeName": "uid",
          "nativeType": "string",
          "items": {
            "type": "string",
            "nativeType": "string"
          }
        },
        "userPassword": {
          "type": "string",
          "nativeName": "__PASSWORD__",
          "nativeType": "JAVA_TYPE_GUARDEDSTRING",
          "flags": [
            "NOT_READABLE",
            "NOT_RETURNED_BY_DEFAULT"
          ],
          "runAsUser": true
        },
        "ldapGroups": {
          "type": "array",
          "items": {
            "type": "string",
            "nativeType": "string"
          },
          "nativeName": "ldapGroups",
          "nativeType": "string"
        },
        "givenName": {
          "type": "string",
          "nativeName": "givenName",
          "nativeType": "string"
        },
        "mail": {
          "type": "string",
          "nativeName": "mail",
          "nativeType": "string"
        },
        "employeeType": {
          "type": "array",
          "items": {
            "type": "string",
            "nativeType": "string"
          },
          "nativeName": "employeeType",
          "nativeType": "string"
        },
        "description": {
          "type": "string",
          "nativeName": "description",
          "nativeType": "string"
        },
        "telephoneNumber": {
          "type": "string",
          "nativeName": "telephoneNumber",
          "nativeType": "string"
        },
        "disabled": {
          "type": "string",
          "nativeName": "ds-pwp-account-disabled",
          "nativeType": "string"
        },
        "kbaInfo": {
          "type": "array",
          "nativeType": "string",
          "nativeName": "kbaInfo",
          "required": false
        },
        "aliasList": {
          "type": "array",
          "nativeType": "string",
          "nativeName": "iplanet-am-user-alias-list",
          "required": false
        }
      }
    },
    "group": {
      "$schema": "http://json-schema.org/draft-03/schema",
      "id": "__GROUP__",
      "type": "object",
      "nativeType": "__GROUP__",
      "properties": {
        "seeAlso": {
          "type": "array",
          "items": {
            "type": "string",
            "nativeType": "string"
          },
          "nativeName": "seeAlso",
          "nativeType": "string"
        },
        "description": {
          "type": "array",
          "items": {
            "type": "string",
            "nativeType": "string"
          },
          "nativeName": "description",
          "nativeType": "string"
        },
        "uniqueMember": {
          "type": "array",
          "items": {
            "type": "string",
            "nativeType": "string"
          },
          "nativeName": "uniqueMember",
          "nativeType": "string"
        },
        "dn": {
          "type": "string",
          "required": true,
          "nativeName": "__NAME__",
          "nativeType": "string"
        },
        "o": {
          "type": "array",
          "items": {
            "type": "string",
            "nativeType": "string"
          },
          "nativeName": "o",
          "nativeType": "string"
        },
        "ou": {
          "type": "array",
          "items": {
            "type": "string",
            "nativeType": "string"
          },
          "nativeName": "ou",
          "nativeType": "string"
        },
        "businessCategory": {
          "type": "array",
          "items": {
            "type": "string",
            "nativeType": "string"
          },
          "nativeName": "businessCategory",
          "nativeType": "string"
        },
        "owner": {
          "type": "array",
          "items": {
            "type": "string",
            "nativeType": "string"
          },
          "nativeName": "owner",
          "nativeType": "string"
        },
        "cn": {
          "type": "array",
          "items": {
            "type": "string",
            "nativeType": "string"
          },
          "required": true,
          "nativeName": "cn",
          "nativeType": "string"
        }
      }
    }
  },
  "operationOptions": {
    "DELETE": {
      "denied": false,
      "onDeny": "DO_NOTHING"
    },
    "UPDATE": {
      "denied": false,
      "onDeny": "DO_NOTHING"
    },
    "CREATE": {
      "denied": false,
      "onDeny": "DO_NOTHING"
    }
  }
}
