| | |
| | | @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 |
| | | }; |
| | | } |