]
Ingo Weiss moved JBEAP-11985 to WFLY-9055:
------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-9055 (was: JBEAP-11985)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Security
(was: Security)
Affects Version/s: 11.0.0.Beta1
(was: 6.4.0.GA)
(was: 7.1.0.ER1)
EAP 7.1 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@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"
}},
-----------------------