use of org.apereo.cas.configuration.model.support.redis.RedisServiceRegistryProperties in project cas by apereo.
the class RedisServiceRegistryConfiguration method redisConnectionFactory.
@Bean
@RefreshScope
public RedisConnectionFactory redisConnectionFactory() {
final RedisServiceRegistryProperties redis = casProperties.getServiceRegistry().getRedis();
final RedisObjectFactory obj = new RedisObjectFactory();
return obj.newRedisConnectionFactory(redis);
}
Aggregations