anchor.diff:  Rob Winch
   :toc:
   
  -This guide describes how to use Spring Session to transparently leverage Redis to back a web application's `HttpSession`.
  +This guide describes how to use Spring Session to transparently leverage Redis to back a web application's `HttpSession` with Java Configuration.
   
   NOTE: The completed guide can be found in the <<httpsession-sample, httpsession sample application>>.
   
  
positive.code: // tag::config[]
  
  [[httpsession-spring-configuration]]
  == Spring Configuration
  
  After adding the required dependencies, we can create our Spring configuration.
  The Spring configuration is responsible for creating a Servlet Filter that replaces the `HttpSession` implementation with an implementation backed by Spring Session.
  
negative.code: ----
  
  ifeval::["{version-snapshot}" == "true"]
  Since we are using a SNAPSHOT version, we need to ensure to add the Spring Snapshot Maven Repository.
  Ensure you have the following in your pom.xml:
  
  .pom.xml
  