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

Parameterize SpringSessionBackedSessionRegistry #700

Merged
merged 1 commit into from
May 10, 2017

Conversation

vpavic
Copy link
Contributor

@vpavic vpavic commented Jan 7, 2017

Since SpringSessionBackedSessionRegistry works against FindByIndexNameSessionRepository, it should be parameterized with the same ExpiringSession type as the underlying session repository (similarly to SessionRepositoryFilter).

The original motivation for this change is the fact that SpringSessionBackedSessionRegistry currently cannot be constructed using FindByIndexNameSessionRepository<? extends ExpiringSession> since its constructor expects FindByIndexNameSessionRepository<ExpiringSession>. This is a problem since one typically needs to use FindByIndexNameSessionRepository<? extends ExpiringSession> in order to inject session repository.

This was originally reported in this SO question.

@vpavic vpavic force-pushed the parameterize-session-registry branch from b2bb346 to 57b1d56 Compare January 10, 2017 19:05
@vpavic vpavic changed the base branch from 1.3.x to 1.4.x January 10, 2017 19:06
@vpavic vpavic added this to the 1.4.0 M1 milestone Jan 10, 2017
@vpavic vpavic force-pushed the parameterize-session-registry branch from 57b1d56 to 47438f8 Compare May 9, 2017 14:18
@vpavic vpavic changed the base branch from 1.4.x to master May 9, 2017 14:18
@vpavic vpavic modified the milestones: 2.0.0 M1, 1.4.0 M1 May 9, 2017
@vpavic vpavic added type: enhancement A general enhancement in: security labels May 9, 2017
@vpavic vpavic force-pushed the parameterize-session-registry branch from 47438f8 to 11d2639 Compare May 9, 2017 14:20
@rwinch rwinch self-assigned this May 10, 2017
@rwinch rwinch merged commit e9e5d8e into spring-projects:master May 10, 2017
@vpavic vpavic deleted the parameterize-session-registry branch May 10, 2017 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants