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

Make PublicKeyCredentialRequestOptions Serializable #16438

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

franticticktick
Copy link
Contributor

Closes gh-16432

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Jan 17, 2025
Copy link
Member

@rwinch rwinch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the Pull Request. Historically the serialVersionUID no longer used for new classes implementing Serializable. Going forward we should generate a serialVersionUID.

@franticticktick
Copy link
Contributor Author

Hi @rwinch, thanks for feedback. If we use the generated serialVersionUID SpringSecurityCoreVersionSerializableTests will not work. It only works with SpringSecurityCoreVersion. Maybe we should add such support to SpringSecurityCoreVersionSerializableTests?

@rwinch
Copy link
Member

rwinch commented Jan 18, 2025

Please take a look at 6f379aa which was progress towards gh-16276 for an example for how to implement it. It uses generated serialVersionUID and adds tests. The ticket gh-16276 also has instructions on how to address it.

NOTE: This PR has some overlap with gh-16285 (which I provided the same advice for)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting-for-triage An issue we've not yet triaged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make PublicKeyCredentialRequestOptions Serializable
3 participants