Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

SEC-1052: Add option to prevent URL rewriting of jsessionid #1303

spring-issuemaster opened this Issue Dec 8, 2008 · 3 comments


None yet
1 participant

Luke Taylor(Migrated from SEC-1052) said:

This is often seen as a security risk:


“Do not expose any session identifiers or any portion of valid credentials in URLs or logs (no session rewriting or storing the user’s password in log files)”

We should add an option in the namespace (and the HttpSessionSecurityContextRepository) to override URL encoding and prevent the id being written to the URL.

Luke Taylor said:

I’ve added the property disableUrlRewriting to HttpSessionSecurityContextRepository. Just need to add a corresponding one to the namespace.

Luke Taylor said:

I’ve added support for “disable-url-rewriting” to the namespace parser.

@spring-issuemaster spring-issuemaster added this to the 3.0.0 M1 milestone Feb 5, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment