Uploaded image for project: 'JBoss Enterprise Application Platform 6'
  1. JBoss Enterprise Application Platform 6
  2. JBPAPP6-419

Admin console: unable to remove security module if only one of this type exists

    Details

      Description

      For a security domain, create a [mapping|audit|authorization|authentication] module. Try to remove it. If it was the only defined module of this type for the security domain, the deletion will not work. When there are N modules defined, it is possible to remove only up to N-1 of them.

      Request
      {
          "operation" => "write-attribute",
          "address" => [
              ("subsystem" => "security"),
              ("security-domain" => "ghgh"),
              ("mapping" => "classic")
          ],
          "name" => "mapping-modules",
          "value" => []
      }
      
      Response
      
      Internal Server Error
      {
          "outcome" => "failed",
          "failure-description" => "JBAS014706: [0] is an invalid size for parameter value. A minimum length of [1] is required",
          "rolled-back" => true,
          "response-headers" => {"process-state" => "reload-required"}
      
      

      and for mapping modules:

      I suggest that the input text element for specifying mapping module type be changed to a combobox, because there is just an enumerated set of legal values, then it makes no sense that user has to type in one of them (... also it is currently possible to put in an invalid value and the creation of mapping module will succeed).

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                pslegr Pavel Slegr
                Reporter:
                jmartisk Jan Martiska
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: