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

ConcurrentSessionFilter supports InvalidSessionStrategy #3795

Closed
mdeinum opened this issue Apr 8, 2016 · 1 comment
Closed

ConcurrentSessionFilter supports InvalidSessionStrategy #3795

mdeinum opened this issue Apr 8, 2016 · 1 comment
Assignees
Labels
in: web An issue in web modules (web, webmvc) type: enhancement A general enhancement
Milestone

Comments

@mdeinum
Copy link
Contributor

mdeinum commented Apr 8, 2016

Currently the ConcurrentSessionFilter only allows for a redirectUrl to be set and it always uses a RedirectStrategy. However we are using a JS front-end (still with a http session) and would like to be able to send a custom status code for this situation instead of a redirect.

The SessionManagementFilter uses an InvalidSessionStrategy with the default being a SimpleRedirectInvalidSessionStrategy. It would be nice and beneficial of the ConcurrentSessionFilter could use the same abstraction allowing for a more flexible handling of concurrent sessions for different front ends.

@rwinch
Copy link
Member

rwinch commented Apr 8, 2016

@mdeinum Thanks for the report! Any chance you would be interested in submitting a PR?

@rwinch rwinch closed this as completed in b88418b Sep 15, 2016
@rwinch rwinch added in: web An issue in web modules (web, webmvc) type: enhancement A general enhancement labels Sep 15, 2016
@rwinch rwinch self-assigned this Sep 15, 2016
@rwinch rwinch added this to the 4.2.0 M1 milestone Sep 15, 2016
@rwinch rwinch changed the title Let the ConcurrentSessionFilter use the InvalidSessionStrategy ConcurrentSessionFilter supports InvalidSessionStrategy Sep 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web An issue in web modules (web, webmvc) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants