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

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major 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.

      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.

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

                Created:
                Updated:
                Resolved: