Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-6530

Cannot enable security configuration for a cache in cache configuration page if there was no security configuration at container startup

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 8.2.1.Final
    • Console
    • None

    Description

      in cache configuration page in security tab. if we have cache container with configured secirity

                      <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>
      
      

      and a cache that doesn'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.

      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
      

      The console looks for the JMX value but because there is no configuration it throws an error

      Attachments

        Issue Links

          Activity

            People

              vblagoje Vladimir Blagojevic (Inactive)
              mvrabel_jira Martin Vrabel (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: