{
"operation-name" : "add",
"description" : "Add a new LDAP KeyStore.",
"request-properties" : {
"dir-context" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The name of DirContext, which will be used to communication with LDAP server.",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"capability-reference" : "org.wildfly.security.dir-context",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"new-item-template" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "Configuration for item creation. Define how will look LDAP entry of newly created keystore item.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"stability" : "default",
"value-type" : {
"new-item-path" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The path in LDAP, where will be newly created KeyStore items stored.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"requires" : [
"new-item-rdn",
"new-item-attributes"
],
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"new-item-rdn" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The name of LDAP attribute, which will be used in RDN of newly created items.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"requires" : [
"new-item-path",
"new-item-attributes"
],
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"new-item-attributes" : {
"type" : {
"TYPE_MODEL_VALUE" : "LIST"
},
"description" : "The LDAP attributes, which will be set for newly created items.",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"requires" : [
"new-item-path",
"new-item-rdn"
],
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default",
"value-type" : {
"name" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The name of the LDAP attribute.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"value" : {
"type" : {
"TYPE_MODEL_VALUE" : "LIST"
},
"description" : "The value of LDAP attribute.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default",
"value-type" : {
"TYPE_MODEL_VALUE" : "STRING"
}
}
}
}
}
},
"alias-attribute" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The name of LDAP attribute, where will be item alias stored.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "cn",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"certificate-attribute" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The name of LDAP attribute, where will be certificate stored.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "usercertificate",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"certificate-chain-attribute" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The name of LDAP attribute, where will be certificate chain stored.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "userSMIMECertificate",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"certificate-chain-encoding" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The encoding of the certificate chain.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "PKCS7",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"certificate-type" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The type of the Certificate.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "X.509",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"key-attribute" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The name of LDAP attribute, where will be key stored.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "userPKCS12",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"key-type" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The type of KeyStore, in which will be key serialized to LDAP attribute.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "PKCS12",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"filter-alias" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The LDAP filter for obtaining an item of the KeyStore by alias. If this is not specified then the default value will be (alias_attribute={0}). The string '{0}' will be replaced by the searched alias and the 'alias_attribute' value will be the value of the attribute 'alias-attribute'.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"filter-certificate" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The LDAP filter for obtaining an item of the KeyStore by certificate. If this is not specified then the default value will be (certificate_attribute={0}). The string '{0}' will be replaced by searched encoded certificate and the 'certificate_attribute' will be the value of the attribute 'certificate-attribute'.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"filter-iterate" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The LDAP filter for iterating over all items of the KeyStore. If this is not specified then the default value will be (alias_attribute=*). The 'alias_attribute' will be the value of the attribute 'alias-attribute'.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"search-path" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The path in LDAP, where will be KeyStore items searched.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"search-recursive" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "If the LDAP search should be recursive.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : true,
"stability" : "default"
},
"search-time-limit" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The time limit for obtaining keystore items from LDAP.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : 10000,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"restart-required" : "resource-services",
"runtime-only" : false
}