Description of problem: The realms are not readable, this is despite the access control provider being Simple: - [domain@localhost:9999 /] :whoami(verbose=true) { "outcome" => "success", "result" => { "identity" => { "username" => "$local", "realm" => "ManagementRealm" }, "mapped-roles" => ["SuperUser"] } } [domain@localhost:9999 /] ./core-service=management/security-realm=ManagementRealm:read-resource { "outcome" => "failed", "failure-description" => "JBAS014807: Management resource '[ (\"core-service\" => \"management\"), (\"security-realm\" => \"ManagementRealm\") ]' not found", "rolled-back" => true }
Darran Lofthouse <darran.lofthouse> updated the status of jira WFLY-2412 to Coding In Progress
There are no domain level security realm resources. You need to prefix that address with /host=<name of a host>.
In that case probably a bad resource definition exposing those resources at domain level.
Good catch Darran. I'm re-opening with a changed title. The fix is to remove those from the metadata.
Yes is it a one line fix (two if you count the closing bracket of the if statement) ;-) Pull requests coming shortly.
This issue was verified using the 6.2.0.CR1 preview bits.