diff --git a/CODE_OF_CONDUCT.adoc b/CODE_OF_CONDUCT.adoc index f013d6f3..17783c7c 100644 --- a/CODE_OF_CONDUCT.adoc +++ b/CODE_OF_CONDUCT.adoc @@ -40,5 +40,5 @@ appropriate to the circumstances. Maintainers are obligated to maintain confiden with regard to the reporter of an incident. This Code of Conduct is adapted from the -http://contributor-covenant.org[Contributor Covenant], version 1.3.0, available at -http://contributor-covenant.org/version/1/3/0/[contributor-covenant.org/version/1/3/0/] +https://contributor-covenant.org[Contributor Covenant], version 1.3.0, available at +https://contributor-covenant.org/version/1/3/0/[contributor-covenant.org/version/1/3/0/] diff --git a/CONTRIBUTING.adoc b/CONTRIBUTING.adoc index b8606d85..b071246e 100644 --- a/CONTRIBUTING.adoc +++ b/CONTRIBUTING.adoc @@ -10,8 +10,8 @@ By participating, you are expected to uphold this code. Please report unaccepta == Using GitHub issues We use GitHub issues to track bugs and enhancements. If you have a general usage question -please ask on http://stackoverflow.com[Stack Overflow]. The Spring Session team and the -broader community monitor the http://stackoverflow.com/tags/spring-session[`spring-session`] +please ask on https://stackoverflow.com[Stack Overflow]. The Spring Session team and the +broader community monitor the https://stackoverflow.com/tags/spring-session[`spring-session`] tag. If you are reporting a bug, please help to speed up problem diagnosis by providing as much diff --git a/README.adoc b/README.adoc index 0ee9b832..ba69fc0b 100644 --- a/README.adoc +++ b/README.adoc @@ -25,7 +25,7 @@ By participating, you are expected to uphold this code. Please report unaccepta == Spring Session Project Site -You can find the documentation, issue management, support, samples, and guides for using Spring Session at http://projects.spring.io/spring-session/ +You can find the documentation, issue management, support, samples, and guides for using Spring Session at https://projects.spring.io/spring-session/ == License diff --git a/docs/src/docs/asciidoc/guides/java-custom-cookie.adoc b/docs/src/docs/asciidoc/guides/java-custom-cookie.adoc index 316e8f8e..4f547f0c 100644 --- a/docs/src/docs/asciidoc/guides/java-custom-cookie.adoc +++ b/docs/src/docs/asciidoc/guides/java-custom-cookie.adoc @@ -28,7 +28,7 @@ This allows sharing a session across domains and applications. If the regular expression does not match, no domain is set and the existing domain is used. If the regular expression matches, the first https://docs.oracle.com/javase/tutorial/essential/regex/groups.html[grouping] is used as the domain. This means that a request to https://child.example.com sets the domain to `example.com`. -However, a request to http://localhost:8080/ or http://192.168.1.100:8080/ leaves the cookie unset and, thus, still works in development without any changes being necessary for production. +However, a request to http://localhost:8080/ or https://192.168.1.100:8080/ leaves the cookie unset and, thus, still works in development without any changes being necessary for production. ==== WARNING: You should only match on valid domain characters, since the domain name is reflected in the response. diff --git a/docs/src/docs/asciidoc/guides/java-hazelcast.adoc b/docs/src/docs/asciidoc/guides/java-hazelcast.adoc index 7f152244..b8e8ec3f 100644 --- a/docs/src/docs/asciidoc/guides/java-hazelcast.adoc +++ b/docs/src/docs/asciidoc/guides/java-hazelcast.adoc @@ -93,7 +93,7 @@ In this instance, Spring Session is backed by Hazelcast. Spring Session provides `PrincipalNameExtractor` for this purpose. <3> We create a `HazelcastInstance` that connects Spring Session to Hazelcast. By default, the application starts and connects to an embedded instance of Hazelcast. -For more information on configuring Hazelcast, see the http://docs.hazelcast.org/docs/{hazelcast-version}/manual/html-single/index.html#hazelcast-configuration[reference documentation]. +For more information on configuring Hazelcast, see the https://docs.hazelcast.org/docs/{hazelcast-version}/manual/html-single/index.html#hazelcast-configuration[reference documentation]. ==== == Servlet Container Initialization @@ -149,7 +149,7 @@ $ ./gradlew :spring-session-sample-javaconfig-hazelcast:tomcatRun ==== NOTE: By default, Hazelcast runs in embedded mode with your application. -However, if you want to connect to a standalone instance instead, you can configure it by following the instructions in the http://docs.hazelcast.org/docs/{hazelcast-version}/manual/html-single/index.html#hazelcast-configuration[reference documentation]. +However, if you want to connect to a standalone instance instead, you can configure it by following the instructions in the https://docs.hazelcast.org/docs/{hazelcast-version}/manual/html-single/index.html#hazelcast-configuration[reference documentation]. You should now be able to access the application at http://localhost:8080/ @@ -176,9 +176,9 @@ You can view the cookies (with https://developers.google.com/web/tools/chrome-de === Interacting with the Data Store -You can remove the session by using http://docs.hazelcast.org/docs/{hazelcast-version}/manual/html-single/index.html#hazelcast-java-client[a Java client], -http://docs.hazelcast.org/docs/{hazelcast-version}/manual/html-single/index.html#other-client-implementations[one of the other clients], or the -http://docs.hazelcast.org/docs/{hazelcast-version}/manual/html-single/index.html#management-center[management center]. +You can remove the session by using https://docs.hazelcast.org/docs/{hazelcast-version}/manual/html-single/index.html#hazelcast-java-client[a Java client], +https://docs.hazelcast.org/docs/{hazelcast-version}/manual/html-single/index.html#other-client-implementations[one of the other clients], or the +https://docs.hazelcast.org/docs/{hazelcast-version}/manual/html-single/index.html#management-center[management center]. ==== Using the Console @@ -191,7 +191,7 @@ For example, to remove the session by using the management center console after ---- ==== -TIP: The Hazelcast documentation has instructions for http://docs.hazelcast.org/docs/{hazelcast-version}/manual/html-single/index.html#executing-console-commands[the console]. +TIP: The Hazelcast documentation has instructions for https://docs.hazelcast.org/docs/{hazelcast-version}/manual/html-single/index.html#executing-console-commands[the console]. Alternatively, you can also delete the explicit key. Enter the following into the console, being sure to replace `7e8383a4-082c-4ffe-a4bc-c40fd3363c5e` with the value of your `SESSION` cookie: @@ -206,7 +206,7 @@ Now visit the application at http://localhost:8080/ and observe that we are no l ==== Using the REST API As described in the section of the documentation that cover other clients, there is a -http://docs.hazelcast.org/docs/{hazelcast-version}/manual/html-single/index.html#rest-client[REST API] +https://docs.hazelcast.org/docs/{hazelcast-version}/manual/html-single/index.html#rest-client[REST API] provided by the Hazelcast node(s). For example, you could delete an individual key as follows (being sure to replace `7e8383a4-082c-4ffe-a4bc-c40fd3363c5e` with the value of your SESSION cookie): diff --git a/docs/src/docs/asciidoc/index.adoc b/docs/src/docs/asciidoc/index.adoc index 749e7ab4..99230764 100644 --- a/docs/src/docs/asciidoc/index.adoc +++ b/docs/src/docs/asciidoc/index.adoc @@ -1193,7 +1193,7 @@ include::{indexdoc-tests}[tags=new-hazelcastsessionrepository] ---- ==== -For additional information on how to create and configure Hazelcast instance, see the http://docs.hazelcast.org/docs/{hazelcast-version}/manual/html-single/index.html#hazelcast-configuration[Hazelcast documentation]. +For additional information on how to create and configure Hazelcast instance, see the https://docs.hazelcast.org/docs/{hazelcast-version}/manual/html-single/index.html#hazelcast-configuration[Hazelcast documentation]. [[api-enablehazelcasthttpsession]] ==== Using `@EnableHazelcastHttpSession` @@ -1339,7 +1339,7 @@ Spring Session is Open Source software released under the https://www.apache.org | https://github.com/maseev/spring-session-orientdb | Spring Session Infinispan -| http://infinispan.org/docs/dev/user_guide/user_guide.html#externalizing_session_using_spring_session +| https://infinispan.org/docs/dev/user_guide/user_guide.html#externalizing_session_using_spring_session |=== diff --git a/samples/boot/findbyusername/src/main/resources/templates/index.html b/samples/boot/findbyusername/src/main/resources/templates/index.html index 14dcb1bc..a9c51521 100644 --- a/samples/boot/findbyusername/src/main/resources/templates/index.html +++ b/samples/boot/findbyusername/src/main/resources/templates/index.html @@ -1,4 +1,4 @@ - + Secured Content diff --git a/samples/boot/findbyusername/src/main/resources/templates/layout.html b/samples/boot/findbyusername/src/main/resources/templates/layout.html index 00814e90..68bfb27b 100644 --- a/samples/boot/findbyusername/src/main/resources/templates/layout.html +++ b/samples/boot/findbyusername/src/main/resources/templates/layout.html @@ -1,7 +1,7 @@ - + + xmlns:th="https://www.thymeleaf.org" + xmlns:layout="https://github.com/ultraq/thymeleaf-layout-dialect"> Spring Session Sample @@ -115,7 +115,7 @@ diff --git a/samples/boot/findbyusername/src/main/resources/templates/login.html b/samples/boot/findbyusername/src/main/resources/templates/login.html index d0c83077..de413468 100644 --- a/samples/boot/findbyusername/src/main/resources/templates/login.html +++ b/samples/boot/findbyusername/src/main/resources/templates/login.html @@ -1,5 +1,5 @@ - Log In diff --git a/samples/boot/jdbc/src/main/resources/templates/index.html b/samples/boot/jdbc/src/main/resources/templates/index.html index 7fef539a..af1da6b9 100644 --- a/samples/boot/jdbc/src/main/resources/templates/index.html +++ b/samples/boot/jdbc/src/main/resources/templates/index.html @@ -1,4 +1,4 @@ - + Secured Content diff --git a/samples/boot/jdbc/src/main/resources/templates/layout.html b/samples/boot/jdbc/src/main/resources/templates/layout.html index 4bc79f44..548267f8 100644 --- a/samples/boot/jdbc/src/main/resources/templates/layout.html +++ b/samples/boot/jdbc/src/main/resources/templates/layout.html @@ -1,7 +1,7 @@ - + + xmlns:th="https://www.thymeleaf.org" + xmlns:layout="https://github.com/ultraq/thymeleaf-layout-dialect"> Spring Session Sample diff --git a/samples/boot/redis-json/src/main/resources/templates/home.html b/samples/boot/redis-json/src/main/resources/templates/home.html index 38e93ba0..3e8a5df9 100644 --- a/samples/boot/redis-json/src/main/resources/templates/home.html +++ b/samples/boot/redis-json/src/main/resources/templates/home.html @@ -1,5 +1,5 @@ - + Home diff --git a/samples/boot/redis-json/src/main/resources/templates/layout.html b/samples/boot/redis-json/src/main/resources/templates/layout.html index 232f5e4c..2be5f82f 100644 --- a/samples/boot/redis-json/src/main/resources/templates/layout.html +++ b/samples/boot/redis-json/src/main/resources/templates/layout.html @@ -1,7 +1,7 @@ - + + xmlns:th="https://www.thymeleaf.org" + xmlns:layout="https://github.com/ultraq/thymeleaf-layout-dialect"> Spring Session Sample diff --git a/samples/boot/redis-json/src/main/resources/templates/login.html b/samples/boot/redis-json/src/main/resources/templates/login.html index 0072f799..2bbf6afe 100644 --- a/samples/boot/redis-json/src/main/resources/templates/login.html +++ b/samples/boot/redis-json/src/main/resources/templates/login.html @@ -1,5 +1,5 @@ - + Login diff --git a/samples/boot/redis/src/main/resources/templates/index.html b/samples/boot/redis/src/main/resources/templates/index.html index 7fef539a..af1da6b9 100644 --- a/samples/boot/redis/src/main/resources/templates/index.html +++ b/samples/boot/redis/src/main/resources/templates/index.html @@ -1,4 +1,4 @@ - + Secured Content diff --git a/samples/boot/redis/src/main/resources/templates/layout.html b/samples/boot/redis/src/main/resources/templates/layout.html index 4bc79f44..548267f8 100644 --- a/samples/boot/redis/src/main/resources/templates/layout.html +++ b/samples/boot/redis/src/main/resources/templates/layout.html @@ -1,7 +1,7 @@ - + + xmlns:th="https://www.thymeleaf.org" + xmlns:layout="https://github.com/ultraq/thymeleaf-layout-dialect"> Spring Session Sample diff --git a/samples/boot/websocket/src/main/resources/templates/index.html b/samples/boot/websocket/src/main/resources/templates/index.html index 81b064e4..62372c64 100644 --- a/samples/boot/websocket/src/main/resources/templates/index.html +++ b/samples/boot/websocket/src/main/resources/templates/index.html @@ -1,4 +1,4 @@ - + View All diff --git a/samples/boot/websocket/src/main/resources/templates/layout.html b/samples/boot/websocket/src/main/resources/templates/layout.html index a1b03a46..8013d852 100644 --- a/samples/boot/websocket/src/main/resources/templates/layout.html +++ b/samples/boot/websocket/src/main/resources/templates/layout.html @@ -1,7 +1,7 @@ - + + xmlns:th="https://www.thymeleaf.org" + xmlns:layout="https://github.com/ultraq/thymeleaf-layout-dialect"> Spring Session Sample diff --git a/samples/misc/grails3/grails-app/conf/logback.groovy b/samples/misc/grails3/grails-app/conf/logback.groovy index 2f7c41c1..ee586923 100644 --- a/samples/misc/grails3/grails-app/conf/logback.groovy +++ b/samples/misc/grails3/grails-app/conf/logback.groovy @@ -1,7 +1,7 @@ import grails.util.BuildSettings import grails.util.Environment -// See http://logback.qos.ch/manual/groovy.html for details on configuration +// See https://logback.qos.ch/manual/groovy.html for details on configuration appender('STDOUT', ConsoleAppender) { encoder(PatternLayoutEncoder) { pattern = "%level %logger - %msg%n" diff --git a/spring-session-data-redis/src/main/java/org/springframework/session/data/redis/RedisOperationsSessionRepository.java b/spring-session-data-redis/src/main/java/org/springframework/session/data/redis/RedisOperationsSessionRepository.java index 31e0c6f8..f2e5a048 100644 --- a/spring-session-data-redis/src/main/java/org/springframework/session/data/redis/RedisOperationsSessionRepository.java +++ b/spring-session-data-redis/src/main/java/org/springframework/session/data/redis/RedisOperationsSessionRepository.java @@ -72,7 +72,7 @@ import org.springframework.util.Assert; * *

* For additional information on how to create a RedisTemplate, refer to the - * + * * Spring Data Redis Reference. *

* @@ -95,8 +95,8 @@ import org.springframework.util.Assert; * *

* Each session is stored in Redis as a - * Hash. Each session is set and - * updated using the HMSET command. An + * Hash. Each session is set and + * updated using the HMSET command. An * example of how each session is stored can be seen below. *

* @@ -152,7 +152,7 @@ import org.springframework.util.Assert; * *

* An expiration is associated to each session using the - * EXPIRE command based upon the + * EXPIRE command based upon the * {@link org.springframework.session.data.redis.RedisOperationsSessionRepository.RedisSession#getMaxInactiveInterval()} * . For example: *

@@ -177,7 +177,7 @@ import org.springframework.util.Assert; * *

* Spring Session relies on the expired and delete - * keyspace notifications from Redis to + * keyspace notifications from Redis to * fire a SessionDestroyedEvent. It is the SessionDestroyedEvent that ensures resources * associated with the Session are cleaned up. For example, when using Spring Session's * WebSocket support the Redis expired or delete event is what triggers any WebSocket @@ -205,7 +205,7 @@ import org.springframework.util.Assert; * guarantee of when the expired event will be fired if the key has not been accessed. * Specifically the background task that Redis uses to clean up expired keys is a low * priority task and may not trigger the key expiration. For additional details see - * Timing of expired events section in + * Timing of expired events section in * the Redis documentation. *

* diff --git a/spring-session-data-redis/src/main/java/org/springframework/session/data/redis/config/ConfigureNotifyKeyspaceEventsAction.java b/spring-session-data-redis/src/main/java/org/springframework/session/data/redis/config/ConfigureNotifyKeyspaceEventsAction.java index aa125e76..300b6c4f 100644 --- a/spring-session-data-redis/src/main/java/org/springframework/session/data/redis/config/ConfigureNotifyKeyspaceEventsAction.java +++ b/spring-session-data-redis/src/main/java/org/springframework/session/data/redis/config/ConfigureNotifyKeyspaceEventsAction.java @@ -81,7 +81,7 @@ public class ConfigureNotifyKeyspaceEventsAction implements ConfigureRedisAction } catch (InvalidDataAccessApiUsageException ex) { throw new IllegalStateException( - "Unable to configure Redis to keyspace notifications. See http://docs.spring.io/spring-session/docs/current/reference/html5/#api-redisoperationssessionrepository-sessiondestroyedevent", + "Unable to configure Redis to keyspace notifications. See https://docs.spring.io/spring-session/docs/current/reference/html5/#api-redisoperationssessionrepository-sessiondestroyedevent", ex); } } diff --git a/spring-session-jdbc/src/main/java/org/springframework/session/jdbc/JdbcOperationsSessionRepository.java b/spring-session-jdbc/src/main/java/org/springframework/session/jdbc/JdbcOperationsSessionRepository.java index d0c1a324..5eab81b9 100644 --- a/spring-session-jdbc/src/main/java/org/springframework/session/jdbc/JdbcOperationsSessionRepository.java +++ b/spring-session-jdbc/src/main/java/org/springframework/session/jdbc/JdbcOperationsSessionRepository.java @@ -84,7 +84,7 @@ import org.springframework.util.StringUtils; * * For additional information on how to create and configure {@link JdbcTemplate} and * {@link PlatformTransactionManager}, refer to the - * + * * Spring Framework Reference Documentation. *

* By default, this implementation uses SPRING_SESSION and diff --git a/spring-session-jdbc/src/main/java/org/springframework/session/jdbc/config/annotation/web/http/EnableJdbcHttpSession.java b/spring-session-jdbc/src/main/java/org/springframework/session/jdbc/config/annotation/web/http/EnableJdbcHttpSession.java index 346f2b68..d5b2832f 100644 --- a/spring-session-jdbc/src/main/java/org/springframework/session/jdbc/config/annotation/web/http/EnableJdbcHttpSession.java +++ b/spring-session-jdbc/src/main/java/org/springframework/session/jdbc/config/annotation/web/http/EnableJdbcHttpSession.java @@ -62,7 +62,7 @@ import org.springframework.session.web.http.SessionRepositoryFilter; * * For additional information on how to configure data access related concerns, please * refer to the + * "https://docs.spring.io/spring/docs/current/spring-framework-reference/html/spring-data-tier.html"> * Spring Framework Reference Documentation. * * @author Vedran Pavic