Skip to content

Add useEntryProcessor flag into HazelcastIndexedSessionRepository to avoid using remote user code deployment #2463

Closed
@shustinho

Description

@shustinho

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions