Class CacheConfiguration

  • All Implemented Interfaces:
    org.springframework.cache.annotation.CachingConfigurer

    @Configuration
    @EnableCaching
    public class CacheConfiguration
    extends Object
    implements org.springframework.cache.annotation.CachingConfigurer
    CacheConfiguration class defines Cache settings for HttpAuthorizationProvider class.
    • Constructor Detail

      • CacheConfiguration

        public CacheConfiguration()
    • Method Detail

      • cacheManager

        @Bean
        public org.springframework.cache.CacheManager cacheManager()
        Specified by:
        cacheManager in interface org.springframework.cache.annotation.CachingConfigurer
      • authKeyGenerator

        @Bean
        public org.springframework.cache.interceptor.KeyGenerator authKeyGenerator()
      • cacheResolver

        public org.springframework.cache.interceptor.CacheResolver cacheResolver()
        Specified by:
        cacheResolver in interface org.springframework.cache.annotation.CachingConfigurer
      • keyGenerator

        public org.springframework.cache.interceptor.KeyGenerator keyGenerator()
        Specified by:
        keyGenerator in interface org.springframework.cache.annotation.CachingConfigurer
      • errorHandler

        public org.springframework.cache.interceptor.CacheErrorHandler errorHandler()
        Specified by:
        errorHandler in interface org.springframework.cache.annotation.CachingConfigurer