Skip to content

Document that a custom CookieSerializer might break Remember Me #2567

@OneGeek

Description

@OneGeek

I think that the docs update made for #1157 does not actually solve the problem because although SpringSessionRememberMeServices does call request.setAttribute(REMEMBER_ME_LOGIN_ATTR, true); it doesn't ensure cookieSerializer.setRememberMeRequestAttribute(REMEMBER_ME_LOGIN_ATTR); gets called, which is necessary for DefaultCookieSerializer to know to check if the attribute is actually set on the request.

So the example present docs for customizing the session cookie will break remember me, and nothing elsewhere in the documentation accounts for this.

Metadata

Metadata

Labels

in: docsAn issue in Documentation or samplestype: enhancementA general enhancement

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions