[jboss-jira] [JBoss JIRA] (WFLY-9055) cache-type attribute of security-domain element accepts invalid values

Ingo Weiss (JIRA) issues at jboss.org
Fri Jul 7 01:34:00 EDT 2017


     [ https://issues.jboss.org/browse/WFLY-9055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ingo Weiss updated WFLY-9055:
-----------------------------
    Summary: cache-type attribute of security-domain element accepts invalid values  (was: EAP 7.1 cache-type attribute of security-domain element accepts invalid values)


> cache-type attribute of security-domain element accepts invalid values
> ----------------------------------------------------------------------
>
>                 Key: WFLY-9055
>                 URL: https://issues.jboss.org/browse/WFLY-9055
>             Project: WildFly
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 11.0.0.Beta1
>            Reporter: Ingo Weiss
>            Assignee: Ingo Weiss
>            Priority: Minor
>
> 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 at 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"
>         }},
> -----------------------



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list