Default Cookie Version

In  undertow

Overview

This feature is to allow the default cookie version to be set for Servlet applications.

Issue Metadata

Issue:

Dev Contacts:

QE Contacts:

Affected Projects or Components:

  • Undertow

Requirements

This will be implemented as an attribute called default-cookie-version under the servlet-container resource. This will allow the default cookie version to be set, so any cookies created by the application will use this version if it is not explicitly set.

Test Plan

The test should be implemented in the Wildfly test suite, and should just set the default cookie version to version 1 and verify that the resulting cookies have the correct version.