Skip to content

Conversation

@rhamedy
Copy link
Contributor

@rhamedy rhamedy commented Feb 22, 2019

This PR adds support for Clear Site Data HTTP response header. See the issue for more details.

Fixes #4187

Copy link
Contributor

@jzheaux jzheaux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks great, @rhamedy! I've left some feedback inline.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will you please make these fields final?

Added an implementation of HeaderWriter for Clear-Site-Data HTTP
response header as welll as an implementation of LogoutHanlder
that accepts an implementation of HeaderWriter to write headers.

- Added ClearSiteDataHeaderWriter and HeaderWriterLogoutHandler
that implements HeaderWriter and LogoutHandler respectively
- Added unit tests for both implementations's behaviours
- Integration tests for HeaderWriterLogoutHandler that uses
ClearSiteDataHeaderWriter
- Updated the documentation to include link to
HeaderWriterLogoutHandler

Fixes spring-projectsgh-4187
@jzheaux
Copy link
Contributor

jzheaux commented Feb 28, 2019

Thank you, @rhamedy! This has now been merged to master via 82d527e. I also did a quick polish on the tests via d86550f.

@jzheaux jzheaux closed this Feb 28, 2019
@jzheaux jzheaux self-assigned this Apr 14, 2019
@jzheaux jzheaux added New Feature in: web An issue in web modules (web, webmvc) status: duplicate A duplicate of another issue labels Apr 14, 2019
@jzheaux jzheaux added this to the 5.2.0.M2 milestone Apr 14, 2019
@rwinch rwinch added the type: enhancement A general enhancement label May 3, 2019
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) status: duplicate A duplicate of another issue type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Clear Site Data to Log Out

3 participants