[jboss-jira] [JBoss JIRA] (AS7-6232) DefaultAuthenticationCacheFactory should not use internal Infinispan classes
Galder Zamarreño (JIRA)
jira-events at lists.jboss.org
Thu Dec 20 08:11:08 EST 2012
[ https://issues.jboss.org/browse/AS7-6232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12742662#comment-12742662 ]
Galder Zamarreño commented on AS7-6232:
---------------------------------------
If you want to find out how to build a local Infinispan cache with these characteristics, see https://github.com/hibernate/hibernate-orm/blob/master/hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/InfinispanRegionFactory.java#L330
You can probably squeeze more performance out of it if you switch from using expiration settings to simply saying eviction().maxEntries(N), which avoids time calculation.
> 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