]
Vladimir Blagojevic commented on ISPN-6530:
-------------------------------------------
[~mvrabel] But this makes sense doesn't it? How can we read available roles for cache
security configuration and setup any cache level security if it has not been enabled on
cache container level? What I propose is that we tell user that he/she first needs to
enable security on cache container level and then set it up on cache level? Thoughts
[~NadirX] [~pzapataf]
Cannot enable security configuration for a cache in cache
configuration page if there was no security configuration at container startup
----------------------------------------------------------------------------------------------------------------------------------------
Key: ISPN-6530
URL:
https://issues.jboss.org/browse/ISPN-6530
Project: Infinispan
Issue Type: Bug
Components: Console
Affects Versions: 8.2.1.Final
Reporter: Martin Vrabel
Assignee: Vladimir Blagojevic
in cache configuration page in security tab. if a cache didn't have a security
configuration e.g.
<security>
<authorization roles="admin" />
</security>
at the start of the container and I enable security in the cache configuration page I
get this error.
The console looks for the JMX value but because there is no configuration it throws an
error
Error
domain-failure-description
WFLYCTL0175: Resource [ ("profile" => "clustered"),
("subsystem" => "datagrid-infinispan"),
("cache-container" => "testContainer"), ("configurations"
=> "CONFIGURATIONS"), ("local-cache-configuration" =>
"localCacheForConfigurationTesting"), ("security" =>
"SECURITY") ] does not exist; a resource at address [ ("profile" =>
"clustered"), ("subsystem" => "datagrid-infinispan"),
("cache-container" => "testContainer"), ("configurations"
=> "CONFIGURATIONS"), ("local-cache-configuration" =>
"localCacheForConfigurationTesting"), ("security" =>
"SECURITY"), ("authorization" => "AUTHORIZATION") ]
cannot be created until all ancestor resources have been added