Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-3112

Removing of non-existing security-domain subresource should fail with an error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.1.0.DR1
    • 7.0.0.ER4
    • Security
    • None
    • DR1
    • Hide

      Start server and run following CLI command:

      ./jboss-cli.sh -c '/subsystem=security/security-domain=jboss-web-policy/authorization=classic/policy-module=nonExistent:remove()'
      
      Show
      Start server and run following CLI command: ./jboss-cli.sh -c '/subsystem=security/security-domain=jboss-web-policy/authorization=classic/policy-module=nonExistent:remove()'

      In case when non-existent policy-module is removed through Management CLI, operation should finish with failure. However it finishes with outcome success and nothing is changed. It can be confusing since wrong command seems same as correct command.

              spyrkob Bartosz Spyrko-Smietanko
              olukas Ondrej Lukas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: