Skip to content

Commit bc6c30e

Browse files
Merge branch '3.1.x' into 3.2.x
Closes gh-2762
2 parents a1837e3 + 592b064 commit bc6c30e

File tree

14 files changed

+26
-24
lines changed

14 files changed

+26
-24
lines changed

spring-session-docs/modules/ROOT/pages/api.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[[api]]
22
= API Documentation
33

4-
You can browse the complete https://docs.spring.io/spring-session/docs/{spring-session-version}/api/[Javadoc] online. The key APIs are described in the following sections:
4+
You can browse the complete {docs-url}/spring-session/docs/{spring-session-version}/api/[Javadoc] online. The key APIs are described in the following sections:
55

66
* <<api-session>>
77
* <<api-sessionrepository>>
@@ -262,7 +262,7 @@ You can customize the serialization by creating a bean named `springSessionDefau
262262

263263
`RedisIndexedSessionRepository` is subscribed to receive events from Redis by using a `RedisMessageListenerContainer`.
264264
You can customize the way those events are dispatched by creating a bean named `springSessionRedisTaskExecutor`, a bean `springSessionRedisSubscriptionExecutor`, or both.
265-
You can find more details on configuring Redis task executors https://docs.spring.io/spring-data-redis/docs/{spring-data-redis-version}/reference/html/#redis:pubsub:subscribe:containers[here].
265+
You can find more details on configuring Redis task executors {docs-url}/spring-data-redis/docs/{spring-data-redis-version}/reference/html/#redis:pubsub:subscribe:containers[here].
266266

267267
[[api-redisindexedsessionrepository-storage]]
268268
=== Storage Details
@@ -614,7 +614,7 @@ include::{indexdoc-tests}[tags=new-jdbcindexedsessionrepository]
614614
----
615615
====
616616

617-
For additional information on how to create and configure `JdbcTemplate` and `PlatformTransactionManager`, see the https://docs.spring.io/spring/docs/{spring-core-version}/spring-framework-reference/data-access.html[Spring Framework Reference Documentation].
617+
For additional information on how to create and configure `JdbcTemplate` and `PlatformTransactionManager`, see the {docs-url}/spring/docs/{spring-core-version}/spring-framework-reference/data-access.html[Spring Framework Reference Documentation].
618618

619619
[[api-jdbcindexedsessionrepository-config]]
620620
=== Using `@EnableJdbcHttpSession`

spring-session-docs/modules/ROOT/pages/configuration/redis.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ In order to be able to do that, you must be using the <<configuring-redisindexed
209209
If you do not know the difference between the indexed and the default repository, you can go to <<choosing-between-regular-and-indexed,this section>>.
210210

211211
With the indexed repository configured, you can now start to listen to `SessionCreatedEvent`, `SessionDeletedEvent`, `SessionDestroyedEvent` and `SessionExpiredEvent` events.
212-
There are a https://docs.spring.io/spring-framework/reference/core/beans/context-introduction.html#context-functionality-events[few ways to listen to application events] in Spring, we are going to use the `@EventListener` annotation.
212+
There are a {docs-url}/spring-framework/reference/core/beans/context-introduction.html#context-functionality-events[few ways to listen to application events] in Spring, we are going to use the `@EventListener` annotation.
213213

214214
====
215215
[source,java]

spring-session-docs/modules/ROOT/pages/guides/boot-jdbc.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ spring.session.jdbc.table-name=SPRING_SESSION # Name of the database table used
7171
----
7272
====
7373

74-
For more information, see the https://docs.spring.io/spring-boot/docs/{spring-boot-version}/reference/htmlsingle/#boot-features-session[Spring Session] portion of the Spring Boot documentation.
74+
For more information, see the {docs-url}/spring-boot/docs/{spring-boot-version}/reference/htmlsingle/#boot-features-session[Spring Session] portion of the Spring Boot documentation.
7575

7676
[[httpsession-jdbc-boot-configuration]]
7777
== Configuring the `DataSource`
@@ -89,7 +89,7 @@ spring.datasource.password= # Login password of the database.
8989
----
9090
====
9191

92-
For more information, see the https://docs.spring.io/spring-boot/docs/{spring-boot-version}/reference/htmlsingle/#boot-features-configure-datasource[Configure a DataSource] portion of the Spring Boot documentation.
92+
For more information, see the {docs-url}/spring-boot/docs/{spring-boot-version}/reference/htmlsingle/#boot-features-configure-datasource[Configure a DataSource] portion of the Spring Boot documentation.
9393

9494
[[httpsession-jdbc-boot-servlet-configuration]]
9595
== Servlet Container Initialization

spring-session-docs/modules/ROOT/pages/guides/boot-mongo.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ spring.data.mongodb.database=prod
103103
----
104104
====
105105

106-
For more information, refer to https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-connecting-to-mongodb[Connecting to MongoDB] portion of the Spring Boot documentation.
106+
For more information, refer to {docs-url}/spring-boot/docs/current/reference/htmlsingle/#boot-features-connecting-to-mongodb[Connecting to MongoDB] portion of the Spring Boot documentation.
107107

108108
[[boot-servlet-configuration]]
109109
== Servlet Container Initialization

spring-session-docs/modules/ROOT/pages/guides/boot-redis.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ spring.session.redis.namespace=spring:session # Namespace for keys used to store
6868
----
6969
====
7070

71-
For more information, see the https://docs.spring.io/spring-boot/docs/{spring-boot-version}/reference/htmlsingle/#boot-features-session[Spring Session] portion of the Spring Boot documentation.
71+
For more information, see the {docs-url}/spring-boot/docs/{spring-boot-version}/reference/htmlsingle/#boot-features-session[Spring Session] portion of the Spring Boot documentation.
7272

7373
[[boot-redis-configuration]]
7474
== Configuring the Redis Connection
@@ -86,7 +86,7 @@ spring.data.redis.port=6379 # Redis server port.
8686
----
8787
====
8888

89-
For more information, see the https://docs.spring.io/spring-boot/docs/{spring-boot-version}/reference/htmlsingle/#boot-features-connecting-to-redis[Connecting to Redis] portion of the Spring Boot documentation.
89+
For more information, see the {docs-url}/spring-boot/docs/{spring-boot-version}/reference/htmlsingle/#boot-features-connecting-to-redis[Connecting to Redis] portion of the Spring Boot documentation.
9090

9191
[[boot-servlet-configuration]]
9292
== Servlet Container Initialization

spring-session-docs/modules/ROOT/pages/guides/java-jdbc.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ We configure the H2 database to create database tables by using the SQL script t
100100
<3> We create a `transactionManager` that manages transactions for previously configured `dataSource`.
101101
====
102102

103-
For additional information on how to configure data access related concerns, see the https://docs.spring.io/spring/docs/{spring-core-version}/reference/html/data-access.html[Spring Framework Reference Documentation].
103+
For additional information on how to configure data access related concerns, see the {docs-url}/spring/docs/{spring-core-version}/reference/html/data-access.html[Spring Framework Reference Documentation].
104104

105105
== Java Servlet Container Initialization
106106

spring-session-docs/modules/ROOT/pages/guides/java-redis.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ The filter is in charge of replacing the `HttpSession` implementation to be back
101101
In this instance, Spring Session is backed by Redis.
102102
<2> We create a `RedisConnectionFactory` that connects Spring Session to the Redis Server.
103103
We configure the connection to connect to localhost on the default port (6379).
104-
For more information on configuring Spring Data Redis, see the https://docs.spring.io/spring-data/data-redis/docs/{spring-data-redis-version}/reference/html/[reference documentation].
104+
For more information on configuring Spring Data Redis, see the {docs-url}/spring-data/data-redis/docs/{spring-data-redis-version}/reference/html/[reference documentation].
105105
====
106106

107107
== Java Servlet Container Initialization

spring-session-docs/modules/ROOT/pages/guides/java-rest.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ The filter is in charge of replacing the `HttpSession` implementation to be back
101101
In this instance, Spring Session is backed by Redis.
102102
<2> We create a `RedisConnectionFactory` that connects Spring Session to the Redis Server.
103103
We configure the connection to connect to localhost on the default port (6379).
104-
For more information on configuring Spring Data Redis, see the https://docs.spring.io/spring-data/data-redis/docs/{spring-data-redis-version}/reference/html/[reference documentation].
104+
For more information on configuring Spring Data Redis, see the {docs-url}/spring-data/data-redis/docs/{spring-data-redis-version}/reference/html/[reference documentation].
105105
<3> We customize Spring Session's HttpSession integration to use HTTP headers to convey the current session information instead of cookies.
106106
====
107107

spring-session-docs/modules/ROOT/pages/guides/java-security.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ The filter is in charge of replacing the `HttpSession` implementation to be back
9999
In this instance Spring Session is backed by Redis.
100100
<2> We create a `RedisConnectionFactory` that connects Spring Session to the Redis Server.
101101
We configure the connection to connect to localhost on the default port (6379)
102-
For more information on configuring Spring Data Redis, see the https://docs.spring.io/spring-data/data-redis/docs/{spring-data-redis-version}/reference/html/[reference documentation].
102+
For more information on configuring Spring Data Redis, see the {docs-url}/spring-data/data-redis/docs/{spring-data-redis-version}/reference/html/[reference documentation].
103103
====
104104

105105
== Servlet Container Initialization

spring-session-docs/modules/ROOT/pages/guides/xml-jdbc.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ We configure the H2 database to create database tables by using the SQL script t
102102
<3> We create a `transactionManager` that manages transactions for previously configured `dataSource`.
103103
====
104104

105-
For additional information on how to configure data access-related concerns, see the https://docs.spring.io/spring/docs/{spring-core-version}/spring-framework-reference/data-access.html[Spring Framework Reference Documentation].
105+
For additional information on how to configure data access-related concerns, see the {docs-url}/spring/docs/{spring-core-version}/spring-framework-reference/data-access.html[Spring Framework Reference Documentation].
106106

107107
== XML Servlet Container Initialization
108108

@@ -121,7 +121,7 @@ include::{samples-dir}spring-session-sample-xml-jdbc/src/main/webapp/WEB-INF/web
121121
----
122122
====
123123

124-
The https://docs.spring.io/spring/docs/{spring-core-version}/spring-framework-reference/core.html#context-create[`ContextLoaderListener`] reads the `contextConfigLocation` and picks up our session.xml configuration.
124+
The {docs-url}/spring/docs/{spring-core-version}/spring-framework-reference/core.html#context-create[`ContextLoaderListener`] reads the `contextConfigLocation` and picks up our session.xml configuration.
125125

126126
Last, we need to ensure that our Servlet Container (that is, Tomcat) uses our `springSessionRepositoryFilter` for every request.
127127
The following snippet performs this last step for us:
@@ -134,7 +134,7 @@ include::{samples-dir}spring-session-sample-xml-jdbc/src/main/webapp/WEB-INF/web
134134
----
135135
====
136136

137-
The https://docs.spring.io/spring-framework/docs/{spring-core-version}/javadoc-api/org/springframework/web/filter/DelegatingFilterProxy.html[`DelegatingFilterProxy`] looks up a bean named `springSessionRepositoryFilter` and casts it to a `Filter`.
137+
The {docs-url}/spring-framework/docs/{spring-core-version}/javadoc-api/org/springframework/web/filter/DelegatingFilterProxy.html[`DelegatingFilterProxy`] looks up a bean named `springSessionRepositoryFilter` and casts it to a `Filter`.
138138
For every request on which `DelegatingFilterProxy` is invoked, the `springSessionRepositoryFilter` is invoked.
139139

140140
// end::config[]

0 commit comments

Comments
 (0)