Skip to content

Provide IMMEDIATE session updates on a method level of RedisOperationsSessionRepository #849

Closed
@beku8

Description

@beku8

We wanted to update the session, as new role granted for the user. We can achieve this with the combination of findByIndexNameAndIndexValue methond and by setting RedisOperationsSessionRepository on IMMEDIATE flush mode. Since we can't call save, due to the package access of RedisSession. But I think its not necessary to convert to IMMEDIATE just for this purpose.

Would it be possible to provide a method like setAttributeImmidiate(sessionId, name, value) on RedisOperationsSessionRepository?

Metadata

Metadata

Assignees

Labels

for: stack-overflowA question that's better suited to stackoverflow.com

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions