Add useEntryProcessor flag into HazelcastIndexedSessionRepository to avoid using remote user code deployment #2463
Labels
in: hazelcast
status: duplicate
A duplicate of another issue
type: enhancement
A general enhancement
Expected Behavior
We should have a choise for session replication in HZ whether we want to execute code on client side or on cluster member. Add useEntryProcessor flag into HazelcastIndexedSessionRepository and do non atomic map.get(), map.put() in case of useEntryProcessor is false. Change should be made here HazelcastIndexedSessionRepository#save
Current Behavior
Right now client should provide classes to HZ member for remote execution. But simple http session replication is litghweight operation that can be executed on client side. Remote code deployment lead to a lot of restrictions and should be made by a valuable reason.
Context
So client couple with HZ instance and require the same JDK version as a minimum. I am not sure about difference spring versions.
The text was updated successfully, but these errors were encountered: