文件名从 server/src/main/java/doumeemes/config/shiroRedis/ShiroCacheManager.java 修改 |
| | |
| | | package doumeemes.config.shiroRedis; |
| | | package doumeemes.config.shiroMemory; |
| | | |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.shiro.cache.Cache; |
| | |
| | | import org.apache.shiro.cache.CacheManager; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.context.ApplicationContext; |
| | | import org.springframework.stereotype.Component; |
| | | |
| | | import java.util.concurrent.ConcurrentHashMap; |
| | | import java.util.concurrent.ConcurrentMap; |
| | |
| | | /** |
| | | * 鑷畾涔塖hiro CacheManager |
| | | * @author Eva.Caesar Liu |
| | | * @date 2023/04/17 12:11 |
| | | * @date 2022/04/18 18:12 |
| | | */ |
| | | @Slf4j |
| | | @Component |
| | | //@Component |
| | | public class ShiroCacheManager implements CacheManager { |
| | | |
| | | private final ConcurrentMap<String, Cache> caches = new ConcurrentHashMap(); |