[QUESTION] 序列化和反序列化SimpleGrantedAuthority有没有完整教程啊?
- Dominant language
- Java
- Stars
- 4.4k
- Forks
- 613
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 6
Description
存序列化存Redis的时候报错:
org.springframework.data.redis.serializer.SerializationException: Could not deserialize: invoke constructor error, public org.springframework.security.core.authority.SimpleGrantedAuthority(java.lang.String)
SimpleGrantedAuthority是springsecurity的类,没有默认的无参构造器。但是又没有详细的mixin文档
Contributor guide
Research direction
The report names Spring Security's SimpleGrantedAuthority and a Redis deserialization failure, but no repository file, test, or entry point. Start by locating existing mixin documentation and serialization examples for this class, then document the supported setup and a reproducible example; done means a newcomer can serialize and deserialize it without the reported constructor error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- backend, documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100