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.
I’ve added support for “disable-url-rewriting” to the namespace parser.
Chas Emerick said:
FYI, this should probably get added to the documentation here: