[
https://issues.jboss.org/browse/ISPN-6530?page=com.atlassian.jira.plugin....
]
Martin Vrabel updated ISPN-6530:
--------------------------------
Description:
in cache configuration page in security tab. if we have cache container with configured
secirity
{code}
<security>
<authorization>
<identity-role-mapper/>
<role name="reader"
permissions="READ"/>
<role name="admin" permissions="ALL"/>
<role name="executor" permissions="READ WRITE
EXEC LISTEN"/>
</authorization>
</security>
{code}
and a cache that doesn't have a security configuration e.g.
{code}
<security>
<authorization roles="admin" />
</security>
{code}
at the start of the container and I enable security in the cache configuration page I get
this error.
{code}
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
{code}
The console looks for the JMX value but because there is no configuration it throws an
error
was:
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
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 we have cache container with configured
secirity
{code}
<security>
<authorization>
<identity-role-mapper/>
<role name="reader"
permissions="READ"/>
<role name="admin" permissions="ALL"/>
<role name="executor" permissions="READ WRITE
EXEC LISTEN"/>
</authorization>
</security>
{code}
and a cache that doesn't have a security configuration e.g.
{code}
<security>
<authorization roles="admin" />
</security>
{code}
at the start of the container and I enable security in the cache configuration page I
get this error.
{code}
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
{code}
The console looks for the JMX value but because there is no configuration it throws an
error
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)