ben-manes commented on issue #2090: URL: https://github.com/apache/shiro/issues/2090#issuecomment-2833935634
There is JSR-107 JCache support instead ([shiro-jcache](https://central.sonatype.com/artifact/org.apache.shiro/shiro-jcache)), so you can use many providers by means of [JCacheManager](https://github.com/apache/shiro/blob/3446b67c1bab53cea8ba46f51125623feb80ad17/support/jcache/src/main/java/org/apache/shiro/cache/jcache/JCacheManager.java). Note that for Ehcache 3 you should either ensure that your cache size is small or that you use a strong hash function in your key's `hashCode()`, or else it will degrade very poorly due to their unintended switch to an O(n) eviction policy ([technical details](https://gist.github.com/ben-manes/6312727adfa2235cb7c5e25cae523ad0)). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@shiro.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@shiro.apache.org For additional commands, e-mail: issues-h...@shiro.apache.org