[jboss-jira] [JBoss JIRA] (AS7-6232) DefaultAuthenticationCacheFactory should not use internal Infinispan classes

Paul Ferraro (JIRA) jira-events at lists.jboss.org
Fri Feb 22 14:37:56 EST 2013


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

Paul Ferraro commented on AS7-6232:
-----------------------------------

A "correct" implemention of DefaultAuthenticationCacheFactory would use a cache defined by the infinispan subsystem itself and injection via the CacheService (which returns an ConcurrentMap implementation).  The DefaultAuthenticationCacheFactory would register a cache listener that listens to the relevant eviction events.  That way we also correctly handle the lifecycle of the cache and its cache manager.
I'm going to reassign this to the clustering team.
                
> DefaultAuthenticationCacheFactory should not use internal Infinispan classes
> ----------------------------------------------------------------------------
>
>                 Key: AS7-6232
>                 URL: https://issues.jboss.org/browse/AS7-6232
>             Project: Application Server 7
>          Issue Type: Bug
>          Components: Security
>    Affects Versions: 7.1.3.Final (EAP)
>            Reporter: Tristan Tarrant
>            Assignee: Anil Saldhana
>
> The DefaultAuthenticationCacheFactory class (and the AuthenticationCacheEvictionListener class) use internal Infinispan classes which are subject to change without API stability guarantees. The code should be rewritten to use an Infinispan cache instead.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list