Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void setup(@TempDir Path tempDir) {
}

@Test
public void canFindDepencency() throws Exception {
public void canFindDependency() throws Exception {
BuildResult result = this.testKit.withProjectResource("samples/testsconfiguration")
.withArguments("check")
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ void writeCookieInsecureSecureRequest() {
}

@Test
void writeCookieInecureInsecureRequest() {
void writeCookieInsecureInsecureRequest() {
this.serializer.setUseSecureCookie(false);
this.serializer.writeCookieValue(cookieValue(this.sessionId));
assertThat(getCookie().getSecure()).isFalse();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ void doFilterOnce() throws ServletException, IOException {
}

@Test
void doFilterMultiOnlyIvokesOnce() throws ServletException, IOException {
void doFilterMultiOnlyInvokesOnce() throws ServletException, IOException {
this.filter.doFilter(this.request, this.response, new MockFilterChain(this.servlet, this.filter));

assertThat(this.invocations).containsOnly(this.filter);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void onApplicationEventConnectDisconnectNullSession() {
}

@Test
void onApplicationEventConnectConnectDisonnect() throws Exception {
void onApplicationEventConnectConnectDisconnect() throws Exception {
this.listener.onApplicationEvent(this.connect);
this.listener.onApplicationEvent(this.connect2);
this.listener.onApplicationEvent(this.disconnect);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void setup() {
}

@Test
void preSendconstructorNullRepository() {
void preSendConstructorNullRepository() {
assertThatIllegalArgumentException().isThrownBy(() -> new SessionRepositoryMessageInterceptor<>(null))
.withMessage("sessionRepository cannot be null");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ void customIndexResolverConfigurationWithDefaultMongoSessionConverter() {
void customIndexResolverConfigurationWithProvidedMongoSessionConverter() {

this.context = new AnnotationConfigApplicationContext();
this.context.register(CustomIndexResolverConfigurationWithProvidedtMongoSessionConverter.class);
this.context.register(CustomIndexResolverConfigurationWithProvidedMongoSessionConverter.class);
this.context.refresh();

ReactiveMongoSessionRepository repository = this.context.getBean(ReactiveMongoSessionRepository.class);
Expand Down Expand Up @@ -396,7 +396,7 @@ IndexResolver<Session> indexResolver() {

@Configuration(proxyBeanMethods = false)
@EnableMongoWebSession
static class CustomIndexResolverConfigurationWithProvidedtMongoSessionConverter {
static class CustomIndexResolverConfigurationWithProvidedMongoSessionConverter {

@Bean
ReactiveMongoOperations operations() {
Expand Down
4 changes: 2 additions & 2 deletions spring-session-docs/modules/ROOT/pages/api.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ The second session attribute is named `attrName2`, with a value of `someAttrValu

The `Session` instances managed by `RedisIndexedSessionRepository` keeps track of the properties that have changed and updates only those.
This means that, if an attribute is written once and read many times, we need to write that attribute only once.
For example, assume the `attrName2` session attribute from the lsiting in the preceding section was updated.
For example, assume the `attrName2` session attribute from the listing in the preceding section was updated.
The following command would be run upon saving:

====
Expand Down Expand Up @@ -409,7 +409,7 @@ redis-cli config set notify-keyspace-events Egx
====

If you use `@EnableRedisHttpSession(enableIndexingAndEvents = true)`, managing the `SessionMessageListener` and enabling the necessary Redis Keyspace events is done automatically.
However, in a secured Redis enviornment, the config command is disabled.
However, in a secured Redis environment, the config command is disabled.
This means that Spring Session cannot configure Redis Keyspace events for you.
To disable the automatic configuration, add `ConfigureRedisAction.NO_OP` as a bean.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Tommy Ludwig; Rob Winch
This guide describes how to use Spring Session along with Spring Security when you use Hazelcast as your data store.
It assumes that you have already applied Spring Security to your application.

NOTE: You cand find the completed guide in the <<hazelcast-spring-security-sample, Hazelcast Spring Security sample application>>.
NOTE: You can not find the completed guide in the <<hazelcast-spring-security-sample, Hazelcast Spring Security sample application>>.

[#index-link]
link:../index.html[Index]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ endif::[]

ifeval::["{version-milestone}" == "true"]
Since we are using a Milestone version, we need to add the Spring Milestone Maven Repository.
You msut have the following in your pom.xml:
You must have the following in your pom.xml:

====
.pom.xml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ void terminateOtherSession() throws Exception {
HomePage forgotToLogout = home(this.driver);

this.driver2 = MockMvcHtmlUnitDriverBuilder.mockMvcSetup(this.mockMvc).build();
HomePage terminateFogotSession = home(this.driver2);
terminateFogotSession.terminateSession(forgotToLogout.getSessionId()).assertAt();
HomePage terminateForgotSession = home(this.driver2);
terminateForgotSession.terminateSession(forgotToLogout.getSessionId()).assertAt();

LoginPage login = HomePage.go(this.driver);
login.assertAt();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void setup() {
}

@Test
void getGeoLocationHanldesInvalidIp() {
void getGeoLocationHandlesInvalidIp() {
assertThat(this.filter.getGeoLocation("a")).isEqualTo(SessionDetailsFilter.UNKNOWN);
}

Expand Down