[standalone@localhost:9990 /] /subsystem=elytron/simple-permission-mapper=anonymous-permission-mapper:list-add(name=permission-mappings[0].principals, value="John Doe")
{
"outcome" => "success",
"response-headers" => {
"operation-requires-reload" => true,
"process-state" => "reload-required"
}
}
[standalone@localhost:9990 /] /subsystem=elytron/simple-permission-mapper=anonymous-permission-mapper:read-resource
{
"outcome" => "success",
"result" => {
"mapping-mode" => "first",
"permission-mappings" => [{
"principals" => [
"anonymous",
"John Doe"
],
"permissions" => [{"class-name" => "org.wildfly.security.auth.permission.LoginPermission"}]
}]
},
"response-headers" => {"process-state" => "reload-required"}
}
[standalone@localhost:9990 /] reload
[standalone@localhost:9990 /] /subsystem=elytron/simple-permission-mapper=anonymous-permission-mapper:read-resource
{
"outcome" => "success",
"result" => {
"mapping-mode" => "first",
"permission-mappings" => [{
"principals" => [
"anonymous",
"John",
"Doe"
],
"permissions" => [{"class-name" => "org.wildfly.security.auth.permission.LoginPermission"}]
}]
}
}