[JBoss JIRA] (ISPN-6530) Cannot enable security configuration for a cache in cache configuration page if there was no security configuration at container startup
by Martin Vrabel (JIRA)
[ 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)
9 years, 11 months
[JBoss JIRA] (ISPN-6606) Fix attributes names in remote-persistence schema
by Pedro Ruivo (JIRA)
Pedro Ruivo created ISPN-6606:
---------------------------------
Summary: Fix attributes names in remote-persistence schema
Key: ISPN-6606
URL: https://issues.jboss.org/browse/ISPN-6606
Project: Infinispan
Issue Type: Bug
Components: Configuration
Reporter: Pedro Ruivo
Assignee: Pedro Ruivo
Fix For: 9.0.0.Alpha2
The following attributes are wrong:
connection-timeout => connect-timeout
min-idle => min-idle-time
test-while-idle => test-idle
time-between-eviction-runs => eviction-interval
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ISPN-6530) Cannot enable security configuration for a cache in cache configuration page if there was no security configuration at container startup
by Vladimir Blagojevic (JIRA)
[ https://issues.jboss.org/browse/ISPN-6530?page=com.atlassian.jira.plugin.... ]
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
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (ISPN-6531) when editing security roles in cache configuration page I have to manually add [ ] brackets before updating
by Tristan Tarrant (JIRA)
[ https://issues.jboss.org/browse/ISPN-6531?page=com.atlassian.jira.plugin.... ]
Tristan Tarrant commented on ISPN-6531:
---------------------------------------
Beware that we should have design which can take into account a great number of roles. Probably a dropdown with +/- buttons would be better.
> when editing security roles in cache configuration page I have to manually add [ ] brackets before updating
> -----------------------------------------------------------------------------------------------------------
>
> Key: ISPN-6531
> URL: https://issues.jboss.org/browse/ISPN-6531
> Project: Infinispan
> Issue Type: Bug
> Components: Console
> Affects Versions: 8.2.0.Final
> Reporter: Martin Vrabel
> Assignee: Vladimir Blagojevic
>
> If there are for example 2 roles in the "roles" filed the cache configuration page shows it as "admin,reader" but if I want to add/remove a role I have to add all role in a [ ].
> e.g. adding [admin,reader,writer] removing [admin].
> Otherwise it throws:
> Error
> domain-failure-description
> WFLYCTL0097: Wrong type for roles. Expected [LIST] but was STRING
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months