{
"operation-name" : "add",
"description" : "Add a new principal to role mapping.",
"request-properties" : {
"name" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The name of the user or group being mapped.",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"realm" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "An optional attribute to map based on the realm used for authentication.",
"expressions-allowed" : false,
"required" : false,
"nillable" : true,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default",
"deprecated" : {
"since" : "5.0.0",
"reason" : "This attribute is no longer used once management security is migrated to Elytron based security."
}
},
"type" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "The type of the Principal being mapped, either 'group' or 'user'.",
"expressions-allowed" : false,
"required" : true,
"nillable" : false,
"allowed" : [
"GROUP",
"USER"
],
"stability" : "default"
}
},
"reply-properties" : {},
"stability" : "default",
"read-only" : false,
"runtime-only" : false
}