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

[GSS](7.0.z) cache-type attribute of security-domain element accepts invalid values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • 7.0.10.GA
    • 7.0.z.GA
    • Security
    • None

    Description

      What problem/issue/behavior are you having trouble with? What do you expect to see?

      It is possible to define the following without JBoss complaining:

      <subsystem xmlns="urn:jboss:domain:security:3.0">
      <security-domain name="mydomain" cache-type="Hugo">
      [...]

      Expected behavior is that JBoss complains about invalid value "Hugo" (e.g. throws an Exception, refuses to start,..)

      According to the CLI, there are two valid options: default and infinispan

      }
      -----------------------
      [standalone@localhost:9990 /] /subsystem=security/security-domain=other:read-resource-description
      .. .. ..
      .. .. ..
      "attributes" => {"cache-type" => {
      "type" => STRING,
      "description" => "Adds a cache to speed up authentication checks. Allowed values are 'default' to use simple map as the cache and 'infinispan' to use an Infinispan cache.",
      "expressions-allowed" => true,
      "required" => false,
      "nillable" => true,
      "min-length" => 1L,
      "max-length" => 2147483647L,
      "allowed" => [
      "default",
      "infinispan"
      ],
      "access-type" => "read-write",
      "storage" => "configuration",
      "restart-required" => "no-services"
      }},
      -----------------------

      Attachments

        Issue Links

          Activity

            People

              rhn-cservice-bbaranow Bartosz Baranowski
              rhn-support-andey AnupKumar Dey (Inactive)
              Ondrej Kotek Ondrej Kotek
              Ondrej Kotek Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: