{
"operation-name" : "add",
"description" : "Add the DirContext definition.",
"request-properties" : {
"authentication-context" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The authentication context to obtain login credentials to connect to the LDAP server. Can be omitted if authentication-level is 'none' (anonymous).",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"alternatives" : [
"credential-reference",
"ssl-context",
"principal"
],
"capability-reference" : "org.wildfly.security.authentication-context",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"authentication-level" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The authentication level (security level/authentication mechanism) to use. Corresponds to SECURITY_AUTHENTICATION ('java.naming.security.authentication') environment property. Allowed values: 'none', 'simple', sasl_mech, where sasl_mech is a space-separated list of SASL mechanism names.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "simple",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"connection-timeout" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The timeout for connecting to the LDAP server in milliseconds.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"credential-reference" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "The credential reference to authenticate and connect to the LDAP server. Can be omitted if authentication-level is 'none' (anonymous).",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"alternatives" : ["authentication-context"],
"stability" : "default",
"value-type" : {
"store" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The name of the credential store holding the alias to credential.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"capability-reference" : "org.wildfly.security.credential-store",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"alias" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The alias which denotes stored secret or credential in the store.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"requires" : ["store"],
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"type" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The type of credential this reference is denoting.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"clear-text" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Secret specified using clear text. Check credential store way of supplying credential/secrets to services.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
}
}
},
"enable-connection-pooling" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Indicates if connection pooling is enabled.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
},
"module" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Name of module that will be used as class loading base.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"principal" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The principal to authenticate and connect to the LDAP server. Can be omitted if authentication-level is 'none' (anonymous).",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"alternatives" : ["authentication-context"],
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"properties" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "The additional connection properties for the DirContext.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default",
"value-type" : {
"TYPE_MODEL_VALUE" : "STRING"
}
},
"read-timeout" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The read timeout for an LDAP operation in milliseconds.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"referral-mode" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "If referrals should be followed.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "ignore",
"allowed" : [
"follow",
"ignore",
"throw"
],
"stability" : "default"
},
"ssl-context" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The name of ssl-context used to secure connection to the LDAP server.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"alternatives" : ["authentication-context"],
"capability-reference" : "org.wildfly.security.ssl-context",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"url" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The connection url.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"restart-required" : "resource-services",
"runtime-only" : false
}