Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-1607

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

    XMLWordPrintable

Details

    • 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: