Deprecate EhCache2 support

Since EhCache 3 is fully JSR-107 compliant, we should remove EhCache2 support and provide JCache implementations

Closes gh-10362
This commit is contained in:
Marcus Da Coregio 2021-10-14 14:50:39 -03:00
parent 64e9ac995a
commit 7fa39c8807
3 changed files with 6 additions and 0 deletions

View File

@ -37,7 +37,9 @@ import org.springframework.util.Assert;
* {@link PermissionGrantingStrategy} and {@link AclAuthorizationStrategy} instances. * {@link PermissionGrantingStrategy} and {@link AclAuthorizationStrategy} instances.
* *
* @author Ben Alex * @author Ben Alex
* @deprecated since 5.6. In favor of JCache based implementations
*/ */
@Deprecated
public class EhCacheBasedAclCache implements AclCache { public class EhCacheBasedAclCache implements AclCache {
private final Ehcache cache; private final Ehcache cache;

View File

@ -30,7 +30,9 @@ import org.springframework.util.Assert;
* <a href="https://www.ehcache.org/">EHCACHE</a>. * <a href="https://www.ehcache.org/">EHCACHE</a>.
* *
* @author Ben Alex * @author Ben Alex
* @deprecated since 5.6. In favor of JCache based implementations
*/ */
@Deprecated
public class EhCacheBasedTicketCache implements StatelessTicketCache, InitializingBean { public class EhCacheBasedTicketCache implements StatelessTicketCache, InitializingBean {
private static final Log logger = LogFactory.getLog(EhCacheBasedTicketCache.class); private static final Log logger = LogFactory.getLog(EhCacheBasedTicketCache.class);

View File

@ -32,7 +32,9 @@ import org.springframework.util.Assert;
* <A HREF="https://www.ehcache.org/">EHCACHE</a>. * <A HREF="https://www.ehcache.org/">EHCACHE</a>.
* *
* @author Ben Alex * @author Ben Alex
* @deprecated since 5.6. In favor of JCache based implementations
*/ */
@Deprecated
public class EhCacheBasedUserCache implements UserCache, InitializingBean { public class EhCacheBasedUserCache implements UserCache, InitializingBean {
private static final Log logger = LogFactory.getLog(EhCacheBasedUserCache.class); private static final Log logger = LogFactory.getLog(EhCacheBasedUserCache.class);