From 1eca2bc0ad750a01c9c5e6084bd47539173bb46c Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Tue, 6 Jan 2015 16:16:18 -0600 Subject: [PATCH] Add Basic REST documentation to reference --- docs/src/docs/asciidoc/guides/rest.adoc | 4 ++-- docs/src/docs/asciidoc/index.adoc | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/src/docs/asciidoc/guides/rest.adoc b/docs/src/docs/asciidoc/guides/rest.adoc index 628ad6ea..c6d25124 100644 --- a/docs/src/docs/asciidoc/guides/rest.adoc +++ b/docs/src/docs/asciidoc/guides/rest.adoc @@ -6,8 +6,6 @@ This guide describes how to use Spring Session to transparently leverage Redis t NOTE: The completed guide can be found in the <>. -// tag::config[] - == Updating Dependencies Before you use Spring Session, you must ensure to update your dependencies. If you are using Maven, ensure to add the following dependencies: @@ -66,6 +64,8 @@ Ensure you have the following in your pom.xml: ---- endif::[] +// tag::config[] + [[rest-spring-configuration]] == Spring Configuration diff --git a/docs/src/docs/asciidoc/index.adoc b/docs/src/docs/asciidoc/index.adoc index 09abde0b..233e2110 100644 --- a/docs/src/docs/asciidoc/index.adoc +++ b/docs/src/docs/asciidoc/index.adoc @@ -159,7 +159,12 @@ include::guides/users.adoc[tags=how-does-it-work,leveloffset=+1] Spring Session has can work with RESTful APIs by allowing the session to be provided in a header. -The <> provides a complete working example of using Spring Session with a RESTful API. + +NOTE: The <> provides a working sample on how to use Spring Session in a REST application to support authenticating with a header. +You can the basic steps for integration below, but you are encouraged to follow along with the detailed REST Guide when integrating with your own application. + +include::guides/rest.adoc[tags=config,leveloffset=+1] + [[websocket]] == WebSocket Integration