[infinispan-issues] [JBoss JIRA] (ISPN-6530) Cannot enable security configuration for a cache in cache configuration page if there was no security configuration at container startup

Vladimir Blagojevic (JIRA) issues at jboss.org
Fri May 6 12:10:00 EDT 2016


    [ https://issues.jboss.org/browse/ISPN-6530?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13202230#comment-13202230 ] 

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)


More information about the infinispan-issues mailing list