{
    "title": "Ldap Properties",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "javaType": "com.sos.joc.model.security.ldap.LdapExpertProperties",
    "type": "object",
    "properties": {
        "iamLdapServerUrl": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "iamLdapUserDnTemplate": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "iamLdapSearchBase": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "iamLdapGroupSearchBase": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "iamLdapGroupNameAttribute": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "iamLdapUserNameAttribute": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "iamLdapUserSearchFilter": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "iamLdapGroupSearchFilter": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "iamLdapUseStartTls": {
            "type": "boolean",
            "default": false
        },
        "iamLdapTruststorePath": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "iamLdapTruststorePassword": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "iamLdapTruststoreType": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "iamLdapHostNameVerification": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "iamLdapSecurityProtocol": {
            "type": "string",
            "pattern": "^[^<>]*$",
            "maxLength": 255
        },
        "iamLdapGroupRolesMap": {
            "javaType": "com.sos.joc.model.security.ldap.LdapGroupRolesMapping",
            "type": "object",
            "properties": {
                "items": {
                    "type": "array",
                    "items": {
                        "javaType": "com.sos.joc.model.security.ldap.LdapGroupRolesMappingItem",
                        "type": "object",
                        "properties": {
                            "ldapGroupDn": {
                                "type": "string",
                                "pattern": "^[^<>]*$",
                                "maxLength": 255
                            },
                            "roles": {
                                "type": "array",
                                "items": {
                                    "type": "string",
                                    "pattern": "^[^<>]*$",
                                    "maxLength": 255
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}