I would like to utilize spring-boot + spring-session WITHOUT Redis but use dynamodb as the sessionRepository implementation.
All of the examples available are tightly coupled with Redis or Hazelcast and are mostly auto configurations that abstract away what beans are being initialized. Moreover, my spring boot config explicitly defines a
@Bean
public TomcatEmbeddedServletContainerFactory tomcatEmbeddedServletContainerFactory(Environment env) {
TomcatEmbeddedServletContainerFactory factory = new TomcatEmbeddedServletContainerFactory();
return factory;
}
I have also disabled the spring-boot autoconfiguration SessionAutoConfiguration.class
for spring-session.
So I have a couple of questions.
1. How do I configure my spring-boot project that has an explicitly defined TomcatEmbeddedServletContainerFactory bean to utilize use spring-session?
2. I noticed spring-session is tightly coupled with Redis and Hazelcast (and nothing else). Are there any objections to using a store like amazon dynamodb for the session repository impl?
to give me an idea of how to configure what I want to achieve but I keep running into initialization exceptions. If somebody could point in the right direction I would greatly appreciate it.
using spring-session version: 1.1.0.M1