@ConditionalOnClass(value=org.springframework.data.redis.core.RedisTemplate.class) @ConditionalOnMissingBean(value=com.xingyuv.jushauth.cache.AuthStateCache.class) @AutoConfigureBefore(value=org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration.class) @ConditionalOnProperty(name="justauth.cache.type", havingValue="redis", matchIfMissing=true) static class JustAuthStateCacheConfiguration.Redis extends Object
| 构造器和说明 |
|---|
Redis() |
| 限定符和类型 | 方法和说明 |
|---|---|
AuthStateCache |
authStateCache(org.springframework.data.redis.core.RedisTemplate<String,String> justAuthRedisCacheTemplate,
JustAuthProperties justAuthProperties) |
org.springframework.data.redis.core.RedisTemplate<String,String> |
justAuthRedisCacheTemplate(org.springframework.data.redis.connection.RedisConnectionFactory redisConnectionFactory) |
@Bean(name="justAuthRedisCacheTemplate") public org.springframework.data.redis.core.RedisTemplate<String,String> justAuthRedisCacheTemplate(org.springframework.data.redis.connection.RedisConnectionFactory redisConnectionFactory)
@Bean public AuthStateCache authStateCache(org.springframework.data.redis.core.RedisTemplate<String,String> justAuthRedisCacheTemplate, JustAuthProperties justAuthProperties)
Copyright © 2023. All rights reserved.