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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Minor Minor
    • None
    • 6.4.0.GA
    • Security
    • None

      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="iskv21c" 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"
      }},
      -----------------------

              rhn-support-andey AnupKumar Dey (Inactive)
              rhn-support-andey AnupKumar Dey (Inactive)
              Ondrej Kotek Ondrej Kotek
              Ondrej Kotek Ondrej Kotek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: