Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-13048

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 7.1.0.CR2
    • 7.1.0.CR1
    • Clustering, Security
    • None
    • 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]

      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

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

              Created:
              Updated:
              Resolved: