Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can Infinispan be implemented as cache manager for Apache Shiro?

Apache Shiro allows some implementations for CacheManager. EHCache is one of these implemenations.

I'd like to use Infinispan as Distributed Cache Manager. Until now, I'm not sure wheter it's feasible or not.

Does anybody know how to implement Infinispan as CacheManager for Apache Shiro ? Thanks

like image 443
blackjack Avatar asked Oct 18 '13 21:10

blackjack


1 Answers

I just uploaded Shiro Infinispan support project to GitHub (https://github.com/zbiljic/shiro-infinispan).

It's almost exact copy of EHCache implementation, but uses Infinispan instead.

I created this, and 'shiro-redis' project a year ago for some internal application, but never had the time to upload it. We use it in production for some time now.

like image 79
user559735 Avatar answered Nov 12 '22 23:11

user559735