Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-9311

Creating infinispan security cache w/o default cache doesn't use auth-cache settings

    XMLWordPrintable

Details

    • Hide

      /subsystem=infinispan/cache-container=security:add(start="LAZY")
      /subsystem=infinispan/cache-container=security/local-cache=auth-cache:add(start="LAZY")
      /subsystem=infinispan/cache-container=security/local-cache=auth-cache/eviction=EVICTION:add(max-entries=200, strategy="LIRS")
      /subsystem=infinispan/cache-container=security/local-cache=auth-cache/expiration=EXPIRATION:add(lifespan=200)
      reload
      /subsystem=security/security-domain=test:add(cache-type=infinispan)

      connect in jconsole and check 'test' cache settings:

      expiration.attributes=[wakeUpInterval=60000, maxIdle=-1, reaperEnabled=true, lifespan=-1]
      Show
      /subsystem=infinispan/cache-container=security:add(start="LAZY") /subsystem=infinispan/cache-container=security/local-cache=auth-cache:add(start="LAZY") /subsystem=infinispan/cache-container=security/local-cache=auth-cache/eviction=EVICTION:add(max-entries=200, strategy="LIRS") /subsystem=infinispan/cache-container=security/local-cache=auth-cache/expiration=EXPIRATION:add(lifespan=200) reload /subsystem=security/security-domain=test:add(cache-type=infinispan) connect in jconsole and check 'test' cache settings: expiration.attributes=[wakeUpInterval=60000, maxIdle=-1, reaperEnabled=true, lifespan=-1]

    Description

      If a default cache is not defined on security cache container, cache configuration named 'auth-cache' should be used (based on [1]). However the created cache has default values instead of ones specified on the auth-cache.

      [1] https://issues.jboss.org/browse/WFLY-9206

      Attachments

        Issue Links

          Activity

            People

              pferraro@redhat.com Paul Ferraro
              spyrkob Bartosz Spyrko-Smietanko
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: