Add Basic REST documentation to reference
This commit is contained in:
@@ -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 <<rest-sample, rest sample application>>.
|
||||
|
||||
// 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
|
||||
|
||||
|
||||
@@ -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 <<samples,REST Sample>> provides a complete working example of using Spring Session with a RESTful API.
|
||||
|
||||
NOTE: The <<samples, REST Sample>> 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
|
||||
|
||||
Reference in New Issue
Block a user