保誠-保戶業務員媒合平台
wayne
2022-03-11 242fad1691917c4fd82c7f04b6190a7113628e93
pamapi/src/main/java/com/pollex/pam/config/CacheConfiguration.java
@@ -43,11 +43,11 @@
    @Bean
    public JCacheManagerCustomizer cacheManagerCustomizer() {
        return cm -> {
            createCache(cm, com.pollex.pam.repository.UserRepository.USERS_BY_LOGIN_CACHE);
            createCache(cm, com.pollex.pam.repository.UserRepository.USERS_BY_EMAIL_CACHE);
            createCache(cm, com.pollex.pam.domain.User.class.getName());
            createCache(cm, com.pollex.pam.domain.Authority.class.getName());
            createCache(cm, com.pollex.pam.domain.User.class.getName() + ".authorities");
            createCache(cm, com.pollex.pam.business.repository.UserRepository.USERS_BY_LOGIN_CACHE);
            createCache(cm, com.pollex.pam.business.repository.UserRepository.USERS_BY_EMAIL_CACHE);
            createCache(cm, com.pollex.pam.business.domain.User.class.getName());
            createCache(cm, com.pollex.pam.business.domain.Authority.class.getName());
            createCache(cm, com.pollex.pam.business.domain.User.class.getName() + ".authorities");
            // jhipster-needle-ehcache-add-entry
        };
    }