[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jetty-users] SAME_SITE_NONE_COMMENT for Jetty 12
|
- From: Alexander Farber <farber72@xxxxxxxxxx>
- Date: Sat, 26 Oct 2024 19:13:09 +0000
- Accept-language: en-US, de-DE
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=my08QaG5fkvNiM2X6mmLzH3lP5J/Sh3NfUsB84ROP64=; b=dd4qxHQZBy7wafj4iYirS5nd/OrNnuJGRcH9V5S37pBt4a3qeErIhShYnnhv/06FQ/9dihvVCMIzME6io+Bk6ajHP+4M/07QhfW/x382EyZDGGqi1dI0KLqxgMF5cS+HcyBpqjmzb3tAgHBlt7d6RCaNtqUn0IGmSXEQ2A+H2Wcb5IaUkXQ0Z5sAFmvapPabztSz2oUuQ4MNJxDuifwlZGEfsAkesHFwPSMdZANC5s5yBSesds6ljkNtMDw578fbk3++2/X/euFeEXtjaGfgBP+9EdgHBToSllR5jn9eJQWABIiLIIcOojWlLre0SXBUtZ13P1LjK2OwtWMiGWZdZg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Dcyh3dzRYBWvOVmWUzMCvyAfNhUkZFTWDQ1mwy1j+2wVUw3MOEbw0HgKeVK3b+n7QwhKXEiLQ+7KzD3NzIab3TuZHfal8qdcC1L8Lc1JUCK62FVapxsF76jz+iaMPQct9nJFLonqqTIl6sq7dOK09rJkAA+VI/qaWEtg7TsYXX2gB2jXAWK8Scl36kQOZj4kJpwAvZ8SsYtcWyiImHvaJiVhFr/KQqhw5bPXL13PWjJrKQwDtmm6IwVt3sZYo2ArotxGWB0IQKa7fHSOzwgUR8GFMzD8R4VTUVqMvhT4W9wafqXjCuWYt1aPA87MZOtysLSFxoFKJejRJvjKqQckbQ==
- Delivered-to: jetty-users@xxxxxxxxxxx
- List-archive: <https://www.eclipse.org/mailman/private/jetty-users/>
- List-help: <mailto:jetty-users-request@eclipse.org?subject=help>
- List-subscribe: <https://www.eclipse.org/mailman/listinfo/jetty-users>, <mailto:jetty-users-request@eclipse.org?subject=subscribe>
- List-unsubscribe: <https://www.eclipse.org/mailman/options/jetty-users>, <mailto:jetty-users-request@eclipse.org?subject=unsubscribe>
- Msip_labels:
- Thread-index: AQHbJ9sV7LNgkgiyrkqzt9NcU7MuPA==
- Thread-topic: SAME_SITE_NONE_COMMENT for Jetty 12
Good evening,
I am trying to migrate a Jetty 10 websocket servlet to Jetty 12 and have the following code:
Cookie cookie = new Cookie(COOKIE_NAME, Base64.getEncoder().encodeToString(usersStr.getBytes()));
cookie.setSecure(true);
cookie.setHttpOnly(true);
cookie.setComment(SAME_SITE_NONE_COMMENT);
cookie.setDomain(".example.com");
cookie.setPath("/" + mLanguage);
cookie.setMaxAge(9 * 30 * 24 * 60 * 60);
httpResp.addCookie(cookie);
Is there a similar const for Jetty 12?
Thank you
Alex