2 updates for the WebFilter:
1) Added the ability to configure the WebFilter for use as a HazelcastClient connecting to and storing session data to an already running cluster.
NB: This change required a pom update to include the hazelcast-client module as a new dependency of the hazelcast-wm module
2) Potentially as a knock-on from this, I experienced some issues with the persistence of sessions. Investigation led to the fact that when persisted the session is translated to an nio.Data object which is pushed to the distributed map. On retrieval, the system is expecting a naked Map instance leading to class cast exceptions. Adding ThreadContext.get().toObject(..) correctly deserializes the instances.
Adding ability to use Client for web session management.
Not sure that this was ever working in a multiple VM environment - th…
…e object put in to the clusterMap is ALWAYS nio.Data, not the raw Map. As such I'm confused as to how getClusterMap().get(..) was ever working as it's expecting to pull a raw Map back across.
Documentation of client WebFilter parameters
entryEvent.getMember() is null for clients.
I have merged these manually into local repo. I will push soon together some other changes.
Added ClientConfigBuilder to create config from properties file.
Updated hazelcast-wm to be able to use client.
Removed tomcat manager based impl.