[jboss-jira] [JBoss JIRA] (WFLY-9055) cache-type attribute of security-domain element accepts invalid values
Ingo Weiss (Jira)
issues at jboss.org
Fri Feb 21 11:11:00 EST 2020
[ https://issues.redhat.com/browse/WFLY-9055?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ingo Weiss updated WFLY-9055:
-----------------------------
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="xxxxx" cache-type="yyyy">
[...]
Expected behavior is that JBoss complains about invalid value "yyyy" (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"
}},
-----------------------
was:
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"
}},
-----------------------
> cache-type attribute of security-domain element accepts invalid values
> ----------------------------------------------------------------------
>
> Key: WFLY-9055
> URL: https://issues.redhat.com/browse/WFLY-9055
> Project: WildFly
> Issue Type: Bug
> Components: Security
> Affects Versions: 11.0.0.Beta1
> Reporter: Ingo Weiss
> Assignee: Ingo Weiss
> Priority: Minor
> Fix For: 11.0.0.Beta1
>
>
> 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="xxxxx" cache-type="yyyy">
> [...]
> Expected behavior is that JBoss complains about invalid value "yyyy" (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.13.8#713008)
More information about the jboss-jira
mailing list