public static RedisConnectionFactory newRedisConnectionFactory(final BaseRedisProperties redis,
                                                                   final CasSSLContext casSslContext) throws Exception {
        return newRedisConnectionFactory(redis, false, casSslContext);
    }
New redis connection factory.

@param redis         the redis
@param casSslContext the cas ssl context
@return the redis connection factory
support/cas-server-support-redis-core/src/main/java/org/apereo/cas/redis/core/RedisObjectFactory.java