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

Removing children of security-realm always finishes with {"outcome" => "success"}

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.1.0.DR1
    • 7.0.1.CR1
    • Management
    • None
    • DR1
    • Hide

      Start application server which does NOT include '/core-service=management/security-realm=ManagementRealm/authentication=ldap' and execute:

          ./jboss-cli.sh -c '/core-service=management/security-realm=ManagementRealm/authentication=ldap:remove()'
      

      operation finishes with:

      {
          "outcome" => "success",
          "response-headers" => {
              "operation-requires-reload" => true,
              "process-state" => "reload-required"
          }
      }
      

      even if authentication=ldap has not existed in configuration.

      Show
      Start application server which does NOT include '/core-service=management/security-realm=ManagementRealm/authentication=ldap' and execute: ./jboss-cli.sh -c '/core-service=management/security-realm=ManagementRealm/authentication=ldap:remove()' operation finishes with: { "outcome" => "success" , "response-headers" => { "operation-requires-reload" => true , "process-state" => "reload-required" } } even if authentication=ldap has not existed in configuration.

    Description

      Removing children of security-realm (e.g. authentication) always finishes with

      {"outcome" => "success"}

      . This happens even if type of children of security-realm does not exist in server configuration. It should rather finish with failure to indicate that nothing was removed.

      Attachments

        Issue Links

          Activity

            People

              chaowan@redhat.com Chao Wang
              olukas Ondrej Lukas (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: