Class AuthCacheAutoConfiguration
java.lang.Object
com.broadleafcommerce.auth.cache.autoconfigure.AuthCacheAutoConfiguration
@Configuration
@Conditional(com.broadleafcommerce.common.extension.cache.condition.OnEnabledCacheCondition.class)
@EnableConfigurationProperties(AuthCacheProperties.class)
public class AuthCacheAutoConfiguration
extends Object
Common configuration for auth caching.
- Author:
- Jeff Fischer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.broadleafcommerce.common.extension.cache.key.ContextKeyGencom.broadleafcommerce.common.extension.cache.key.ContextKeyGencom.broadleafcommerce.common.extension.cache.key.ContextKeyGenprotected CacheEnableFilterprotected org.springframework.boot.web.servlet.FilterRegistrationBean<CacheEnableFilter>cacheEnableFilterRegistration(CacheEnableFilter cacheEnableFilter) org.springframework.cache.interceptor.KeyGenerator
-
Field Details
-
ADMIN_PROVIDERS_KEY
- See Also:
-
COMMERCE_PROVIDERS_KEY
- See Also:
-
-
Constructor Details
-
AuthCacheAutoConfiguration
public AuthCacheAutoConfiguration()
-
-
Method Details
-
cacheEnableFilter
-
cacheEnableFilterRegistration
@Bean @ConditionalOnMissingBean protected org.springframework.boot.web.servlet.FilterRegistrationBean<CacheEnableFilter> cacheEnableFilterRegistration(CacheEnableFilter cacheEnableFilter) -
authAncestorAccountCacheByAccountId
@Bean("ancestorAccountCacheByAccountId") @ConditionalOnMissingBean(name="ancestorAccountCacheByAccountId") public com.broadleafcommerce.common.extension.cache.key.ContextKeyGen authAncestorAccountCacheByAccountId() -
accountInheritanceLineCacheByAccountId
@Bean("accountInheritanceLineCacheByAccountId") @ConditionalOnMissingBean(name="accountInheritanceLineCacheByAccountId") public com.broadleafcommerce.common.extension.cache.key.ContextKeyGen accountInheritanceLineCacheByAccountId() -
authDescendantAccountCacheByAccountId
@Bean("descendantAccountCacheByAccountId") @ConditionalOnMissingBean(name="descendantAccountCacheByAccountId") public com.broadleafcommerce.common.extension.cache.key.ContextKeyGen authDescendantAccountCacheByAccountId() -
oauth2IdentityProvidersCache
@Bean("oauth2IdentityProviders") @ConditionalOnMissingBean(name="oauth2IdentityProviders") public org.springframework.cache.interceptor.KeyGenerator oauth2IdentityProvidersCache()
-