Configuring sensitive-classification by a user with Maintainer role.

Solution Unverified - Updated -

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.2.x

Issue

  • When tried to run the following CLI on the Domain Controller, its worked by the user with the Maintainer role but this configuration roll backed when the server gets restarted. :
/core-service=management/access=authorization/constraint=sensitivity-classification/type=core/classification=system-property:write-attribute(name=configured-requires-write, value=false)

Resolution

  • A user with the Maintainer privileges is not allowed to execute this command as executing this command needs SuperUser privileges.
  • Make sure that the user which is executing this CLI command is SuperUser.
  • By the Maintainer user if this command gets executed then the following outcome should appears :
/core-service=management/access=authorization/constraint=sensitivity-classification/type=core/classification=system-property:write-attribute(name=configured-requires-write, value=false)
Failed to get the list of the operation properties: "JBAS014807: Management resource '[
    ("core-service" => "management"),
    ("access" => "authorization"),
    ("constraint" => "sensitivity-classification"),
    ("type" => "core"),
    ("classification" => "system-property")
]' not found"
  • The user with SuperUser role only will be able to execute this command and the outcome should be :
/core-service=management/access=authorization/constraint=sensitivity-classification/type=core/classification=system-property:write-attribute(name=configured-requires-write, value=false)
{
    "outcome" => "success",
    "result" => undefined,
    "server-groups" => {"main-server-group" => {"host" => {"master" => {
        "server-one" => {"response" => {"outcome" => "success"}},
        "server-two" => {"response" => {"outcome" => "success"}}
    }}}}
}

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.