
This commit improves the validation of URLs provided in the property 'spring.redis.url' used to auto-configure a Spring Data Redis connection. In particular, only the URL schemes 'redis://' and 'rediss://' are allowed, and any other scheme will result in a configuration error. A failure analyzer is also provided to improve diagnostics for common mis-configurations detected by this validation. Fixes gh-21999