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

SEC-1424: Add new option create-session="stateless" #1667

Closed
spring-issuemaster opened this issue Feb 26, 2010 · 1 comment
Closed

SEC-1424: Add new option create-session="stateless" #1667

spring-issuemaster opened this issue Feb 26, 2010 · 1 comment

Comments

@spring-issuemaster
Copy link

@spring-issuemaster spring-issuemaster commented Feb 26, 2010

Luke Taylor (Migrated from SEC-1424) said:

create-session="stateless" would mean that the application guarantees that no session will be created. In this case, we should be able to use a null RequestCache in the ExceptionTranslationFilter and remove the RequestCacheFilter and SessionManagementFilter from the stack.

This differs from the existing create-session="never" which means that Spring Security will not create a session, but will use an existing one if the application creates it.

@spring-issuemaster
Copy link
Author

@spring-issuemaster spring-issuemaster commented Feb 26, 2010

Luke Taylor said:

Done. In addition to the above changes, a NullSecurityContextRepository will be used with the SecurityContextPersistenceFilter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.