Skip to content

Allow Serialization based on session attribute name in Redis #359

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
rwinch opened this issue Feb 8, 2016 · 1 comment
Open

Allow Serialization based on session attribute name in Redis #359

rwinch opened this issue Feb 8, 2016 · 1 comment
Labels
in: redis type: enhancement A general enhancement

Comments

@rwinch
Copy link
Member

rwinch commented Feb 8, 2016

This is a brain storm on how to handle #348 (comment)

For example, a org.springframework.core.convert.converter.Converter<Map<String,Object>,Map<byte[],byte[]>> could be used to prior to saving the delta. Then the we could provide a org.springframework.core.convert.converter.Converter<Map<byte[],byte[]>,Map<String,Object>> to convert back to the objects just after we load the data.

This would mean users could provide a mapping of session attribute name to the object rather than having to include class names in the serialization data.

@aterleto
Copy link

aterleto commented Feb 3, 2019

This could help solve - Issue#1330 RedisOperationsSessionRepository loadSession ClassCastException

@vpavic vpavic added this to the General Backlog milestone Feb 4, 2019
@rwinch rwinch removed this from the General Backlog milestone Nov 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: redis type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

3 participants