java - Spring Security UserDetails cache -


i trying cache userdetails in spring security our rest api. there plenty examples using ehcachebasedusercache few springcachebasedusercache. springcachebasedusercache seems new( after 3.1 spring security?). difference between springcachebasedusercache , ehcachebasedusercache? when should choose 1 on other? lot.

ehcachebasedusercache uses, name implies, used ehcache library actual caching.

springcachebasedusercache uses spring's own caching abstraction. can example plugin jcache, a.k.a. jsr-107. reason find fewer examples of is newer, jsr-107 did not reach final release until 18 mar, 2014. note jsr-107 api, not actual implementation.

how choose? ehcache mature , well-tested. jcache has future jsr standards process.


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -