Skip to content

Fix deprecation warnings in Spring Session auto-configuration #32633

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

Closed
wants to merge 1 commit into from

Conversation

vpavic
Copy link
Contributor

@vpavic vpavic commented Oct 7, 2022

This PR updates Spring Session auto-configuration to avoid usage of deprecated methods, and moves to newly introduced Duration based defaultMaxInactiveInterval setters across all session repository implementations.

Additionally, this fixes several tests that are broken due to session repository implementations now using Duration type for their defaultMaxInactiveInterval fields.

This commit updates Spring Session auto-configuration to avoid usage of
deprecated methods, and moves to newly introduced Duration based
defaultMaxInactiveInterval setters across all session repository
implementations.

Additionally, this fixes several tests that are broken due to session
repository implementations now using Duration type for their
defaultMaxInactiveInterval fields.
@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 7, 2022
@wilkinsona wilkinsona added type: task A general task and removed status: waiting-for-triage An issue we've not yet triaged labels Oct 7, 2022
@wilkinsona wilkinsona added this to the 3.0.0-RC1 milestone Oct 7, 2022
@wilkinsona wilkinsona self-assigned this Oct 7, 2022
wilkinsona pushed a commit that referenced this pull request Oct 7, 2022
This commit updates Spring Session auto-configuration to avoid usage of
deprecated methods, and moves to newly introduced Duration based
defaultMaxInactiveInterval setters across all session repository
implementations.

Additionally, this fixes several tests that are broken due to session
repository implementations now using Duration type for their
defaultMaxInactiveInterval fields.

See gh-32633
@wilkinsona wilkinsona closed this in 13e0a13 Oct 7, 2022
@wilkinsona
Copy link
Member

Thanks, @vpavic.

@vpavic vpavic deleted the polish-session-config branch October 7, 2022 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: task A general task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants