From 37aafc51480e12f2742843810e0b205cd45632d5 Mon Sep 17 00:00:00 2001 From: Roy Kachouh Date: Wed, 14 Jan 2015 17:50:13 -0500 Subject: [PATCH] Update Spring boot sample documentation. --- docs/src/docs/asciidoc/guides/boot.adoc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/docs/asciidoc/guides/boot.adoc b/docs/src/docs/asciidoc/guides/boot.adoc index b058031..e7e3067 100644 --- a/docs/src/docs/asciidoc/guides/boot.adoc +++ b/docs/src/docs/asciidoc/guides/boot.adoc @@ -75,8 +75,8 @@ include::{samples-dir}boot/src/main/java/sample/config/HttpSessionConfig.java[] <1> The `@EnableRedisHttpSession` annotation creates a Spring Bean with the name of `springSessionRepositoryFilter` that implements Filter. The filter is what is in charge of replacing the `HttpSession` implementation to be backed by Spring Session. In this instance Spring Session is backed by Redis. -<2> We create a `RedisConnectionFactory` that connects Spring Session to the Redis Server. -In our example, we are connecting to localhost on the default port (6379). +<2> Spring Boot automatically creates a `RedisConnectionFactory` that connects Spring Session to the Redis Server. +In our example, we are connecting to localhost on the default port (6379). In a production environment you need to ensure to configure your JedisConnectionFactory bean to point to your Redis instance. For more information on configuring Spring Data Redis, refer to the http://docs.spring.io/spring-data/data-redis/docs/current/reference/html/[reference documentation]. == Servlet Container Initialization