Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-6083

Removing of non-existent login-module finishes with outcome success

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 10.0.0.Final
    • Management, Security
    • None
    • Hide

      Start EAP and run following CLI command:

      ./jboss-cli.sh -c '/subsystem=security/security-domain=other/authentication=classic/login-module=nonExistent:remove()'
      
      Show
      Start EAP and run following CLI command: ./jboss-cli.sh -c '/subsystem=security/security-domain=other/authentication=classic/login-module=nonExistent:remove()'

      In case when non-existent login-module is removed through Management CLI, opertation 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.

              bstansbe@redhat.com Brian Stansberry
              olukas Ondrej Lukas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: