Skip to content
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

Support Custom Serialization for JDBC #1166

Closed
rwinch opened this issue Aug 22, 2018 · 1 comment
Closed

Support Custom Serialization for JDBC #1166

rwinch opened this issue Aug 22, 2018 · 1 comment
Assignees

Comments

@rwinch
Copy link
Member

rwinch commented Aug 22, 2018

It would be nice to support custom serialization mechanisms for Spring Session JDBC. This would allow better performance and also working around scenarios where session attributes are not serializable.

Related #685 spring-projects/spring-security#5378

@rwinch rwinch added type: enhancement A general enhancement in: jdbc labels Aug 22, 2018
@vpavic vpavic self-assigned this Sep 3, 2018
@vpavic
Copy link
Contributor

vpavic commented Sep 3, 2018

We actually already support this via JdbcHttpSessionConfiguration#setConversionService - the supplied ConversionService is responsible for serializing attributes (by default we use SerializingConverter and DeserializingConverter - see JdbcHttpSessionConfiguration#createConversionServiceWithBeanClassLoader).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants