You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
449 B

package ${basePackage}.config;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import xyz.wbsite.frame.cache.TokenCacheManager;
@Configuration
@EnableCaching
public class CacheConfig {
@Bean(name = "tokenCacheManager")
public TokenCacheManager tokenCacheManager() {
return new TokenCacheManager();
}
}

Powered by TurnKey Linux.