{
"operation-name" : "add",
"description" : "Add a new authentication configuration definition.",
"request-properties" : {
"anonymous" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "Enables anonymous authentication.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"alternatives" : [
"authentication-name",
"kerberos-security-factory"
],
"stability" : "default"
},
"authentication-name" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The authentication name to use.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"alternatives" : [
"anonymous",
"kerberos-security-factory"
],
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"authorization-name" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The authorization name to use.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"credential-reference" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "The reference to credential stored in CredentialStore under defined alias or clear text password.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"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"
}
}
},
"extends" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "A previously defined authentication configuration to extend.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"capability-reference" : "org.wildfly.security.authentication-configuration",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"forwarding-mode" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The type of security identity forwarding to use. A mode of 'authentication' forwarding forwards the principal and credential. A mode of 'authorization' forwards the authorization id, allowing for a different authentication identity.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : "authentication",
"allowed" : [
"authentication",
"authorization"
],
"stability" : "default"
},
"host" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The host to use.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"kerberos-security-factory" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Reference to a kerberos security factory used to obtain a GSS kerberos credential",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"alternatives" : [
"anonymous",
"authentication-name"
],
"capability-reference" : "org.wildfly.security.security-factory.credential",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"mechanism-properties" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "Configuration properties for the SASL authentication mechanism.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"stability" : "default",
"value-type" : {
"TYPE_MODEL_VALUE" : "STRING"
}
},
"port" : {
"type" : {
"TYPE_MODEL_VALUE" : "INT"
},
"description" : "The port to use.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default"
},
"protocol" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The protocol to use.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"realm" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The realm to use.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"sasl-mechanism-selector" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The SASL mechanism selector string.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"security-domain" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Reference to a security domain to obtain a forwarded identity.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"capability-reference" : "org.wildfly.security.security-domain",
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"webservices" : {
"type" : {
"TYPE_MODEL_VALUE" : "OBJECT"
},
"description" : "Web services client configuration definition.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"stability" : "default",
"value-type" : {
"http-mechanism" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Name of HTTP mechanism web services client should use with credentials when connecting to the server. Default is BASIC.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"allowed" : ["BASIC"],
"stability" : "default"
},
"ws-security-type" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Name of WS-security method that web services client should apply when connecting to the server. Default is UsernameToken.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"allowed" : ["UsernameToken"],
"stability" : "default"
}
}
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"restart-required" : "resource-services",
"runtime-only" : false
}