
This commit introduces a CookieSerializerCustomizer callback that allows the customization of the auto-configured DefaultCookieSerializer bean. This is particularly useful for configuring cookie serializer's capabilities, such as SameSite, that are not supported by the Servlet API and therefore not exposed via server.servlet.session.cookie.* properties. See gh-20961