{
"operation-name" : "add",
"description" : "The add operation for the role mapper.",
"request-properties" : {
"keep-non-mapped" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "When set to 'true' then the roles that did not match the pattern will be kept and not removed.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
},
"pattern" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Regex string that will be used for matching. Regex can capture groups. Role matches the pattern if given pattern can be found in any substring of given role.",
"expressions-allowed" : true,
"required" : true,
"nillable" : false,
"min-length" : 1,
"max-length" : 2147483647,
"stability" : "default"
},
"replace-all" : {
"type" : {
"TYPE_MODEL_VALUE" : "BOOLEAN"
},
"description" : "When set to 'false', only first occurrence of the pattern will be replaced in role. When set to 'true' then all of the occurrences will be replaced by replacement.",
"expressions-allowed" : true,
"required" : false,
"nillable" : true,
"default" : false,
"stability" : "default"
},
"replacement" : {
"type" : {
"TYPE_MODEL_VALUE" : "STRING"
},
"description" : "Replacement that will be used when mapping roles that contain the pattern. Can make use of captured groups from pattern.",
"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
}