Spring Boot with Hazelcast and Tomcat
问题 How do you use Hazelcast as a http session store with embedded Tomcat with Spring Boot and Spring Security? I see there is a EmbeddedServletContainerCustomizer and SpringAwareWebFilter but I don't understand how to use it. 回答1: As described in Hazelcast's documentation, you need to configure Hazelcast's SpringAwareWebFilter and SessionListener . You can do so in Spring Boot by declaring a FilterRegistrationBean and a ServletListenerRegistrationBean respectively: @Bean public