Upgrade Spring Session to 1.3.0.M2

Closes gh-6979
pull/7075/head
Vedran Pavic 8 years ago committed by Andy Wilkinson
parent 0b28844681
commit f485660482

@ -37,6 +37,7 @@ import org.springframework.session.ExpiringSession;
import org.springframework.session.MapSessionRepository;
import org.springframework.session.SessionRepository;
import org.springframework.session.data.mongo.MongoOperationsSessionRepository;
import org.springframework.session.hazelcast.HazelcastSessionRepository;
import static org.assertj.core.api.Assertions.assertThat;
import static org.mockito.BDDMockito.given;
@ -107,7 +108,7 @@ public class SessionAutoConfigurationTests extends AbstractSessionAutoConfigurat
public void hazelcastSessionStore() {
load(Collections.<Class<?>>singletonList(HazelcastConfiguration.class),
"spring.session.store-type=hazelcast");
validateSessionRepository(MapSessionRepository.class);
validateSessionRepository(HazelcastSessionRepository.class);
}
@Test
@ -115,7 +116,7 @@ public class SessionAutoConfigurationTests extends AbstractSessionAutoConfigurat
load(Collections.<Class<?>>singletonList(HazelcastSpecificMap.class),
"spring.session.store-type=hazelcast",
"spring.session.hazelcast.map-name=foo:bar:biz");
validateSessionRepository(MapSessionRepository.class);
validateSessionRepository(HazelcastSessionRepository.class);
HazelcastInstance hazelcastInstance = this.context
.getBean(HazelcastInstance.class);
verify(hazelcastInstance, times(1)).getMap("foo:bar:biz");

@ -160,7 +160,7 @@
<spring-security.version>4.1.3.RELEASE</spring-security.version>
<spring-security-jwt.version>1.0.5.RELEASE</spring-security-jwt.version>
<spring-security-oauth.version>2.0.11.RELEASE</spring-security-oauth.version>
<spring-session.version>1.2.2.RELEASE</spring-session.version>
<spring-session.version>1.3.0.M2</spring-session.version>
<spring-social.version>1.1.4.RELEASE</spring-social.version>
<spring-social-facebook.version>2.0.3.RELEASE</spring-social-facebook.version>
<spring-social-linkedin.version>1.0.2.RELEASE</spring-social-linkedin.version>
@ -2244,6 +2244,11 @@
<artifactId>spring-session-data-mongo</artifactId>
<version>${spring-session.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-hazelcast</artifactId>
<version>${spring-session.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.session</groupId>
<artifactId>spring-session-jdbc</artifactId>

Loading…
Cancel
Save