-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Provide Redis Sample with GenericJackson2JsonRedisSerializer #406
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
Comments
Would be very useful. I am trying to do it and I am getting the following exception on the serivce:
@Bean(name = "springSessionDefaultRedisSerializer")
public RedisSerializer<Object> redisSerializer() {
return new Jackson2JsonRedisSerializer<>(Object.class);
} |
@rwinch Thanks will check it out |
This was resolved via #434. |
@BatScream Spring Security SAML doesn't have Jackson support. You would need to add your own jackson mappings for the SAML types. Feel free to create a ticket with Spring Security SAML https://github.com/spring-projects/spring-security-saml/issues |
Lots of people have been looking for how to persist with JSON. It would be good to have a sample that uses Spring Security, Spring Session Redis, and
GenericJackson2JsonRedisSerializer
.For anyone that might be interested in this, please say comment on the issue.
Related #387
The text was updated successfully, but these errors were encountered: