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

Allow configuration of InvalidSessionStrategy on SessionManagementConfigurer #3794

Closed
mdeinum opened this issue Apr 8, 2016 · 3 comments
Closed
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 SessionManagementConfigurer allows for setting an invalidSessionUrl to be redirected to when the session is detected as invalid. However we would not like to send a redirect but instead send a custom status code.

Currently I would have to create an ObjectPostProcessor which overrides or sets the configured InvalidSessionStrategy.

@rwinch
Copy link
Member

rwinch commented Apr 8, 2016

@mdeinum Thanks for the issue. Any chance you would be interested in creating a PR?

@mdeinum
Copy link
Contributor Author

mdeinum commented Apr 10, 2016

@rwinch I'll see what I can come up with.

@rwinch
Copy link
Member

rwinch commented Apr 11, 2016

Thanks!

@rwinch rwinch closed this as completed in b88418b Sep 15, 2016
rwinch pushed a commit that referenced this issue Sep 15, 2016
This commit adds the possibility to configure the AuthenticationFailureHandler
of the SessionManagementFilter.

Fixes gh-3794
@rwinch rwinch added in: web An issue in web modules (web, webmvc) type: enhancement A general enhancement labels Sep 15, 2016
@rwinch rwinch added this to the 4.2.0 M1 milestone Sep 15, 2016
@rwinch rwinch self-assigned this Sep 15, 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