Skip to content

Remove Servlet 2.5 Support for Session Fixation #6259

Closed
@jzheaux

Description

@jzheaux

Related to #6220

There are a couple of different strategies available to users for performing session fixation. One such, ChangeSessionIdSessionAuthenticationStrategy, requires a method only available on HttpServletRequest since Servlet 3.1.

Because of this, its constructor checks for the existence of that method and throws an exception otherwise.

Now that the Spring Framework baseline is Servlet 3.1, that check is no longer necessary.

Also, the corresponding try/catch in
SessionManagementConfigurer and the corresponding conditional in HttpConfigurationBuilder are no longer necessary.

Of course, this also means that tests that confirm this behavior can also be removed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    in: webAn issue in web modules (web, webmvc)type: enhancementA general enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions