Since EhCache 3 is fully JSR-107 compliant, we should remove EhCache2 support and provide JCache implementations Closes gh-10362
@@ -37,7 +37,9 @@ import org.springframework.util.Assert;
* {@link PermissionGrantingStrategy} and {@link AclAuthorizationStrategy} instances.
*
* @author Ben Alex
+ * @deprecated since 5.6. In favor of JCache based implementations
*/
+@Deprecated
public class EhCacheBasedAclCache implements AclCache {
private final Ehcache cache;
@@ -30,7 +30,9 @@ import org.springframework.util.Assert;
* <a href="https://www.ehcache.org/">EHCACHE</a>.
public class EhCacheBasedTicketCache implements StatelessTicketCache, InitializingBean {
private static final Log logger = LogFactory.getLog(EhCacheBasedTicketCache.class);
@@ -32,7 +32,9 @@ import org.springframework.util.Assert;
* <A HREF="https://www.ehcache.org/">EHCACHE</a>.
public class EhCacheBasedUserCache implements UserCache, InitializingBean {
private static final Log logger = LogFactory.getLog(EhCacheBasedUserCache.class);