List of usage examples for org.springframework.security.core.userdetails.cache SpringCacheBasedUserCache SpringCacheBasedUserCache
public SpringCacheBasedUserCache(Cache cache) throws Exception
From source file:com.wiiyaya.consumer.web.initializer.config.SecurityConfig.java
@Bean public UserCache userCache() throws Exception { SpringCacheBasedUserCache userCache = new SpringCacheBasedUserCache(new ConcurrentMapCache("userCache")); return userCache; }