---
title: Set-Cookie Attribute Map
description: When creating cookies with the AttributeTaskHandler, this property sets additional attributes by adding text into the Set-Cookie header.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.set.cookie.attribute.map
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.set.cookie.attribute.map.html
---

# Set-Cookie Attribute Map

When creating cookies with the `AttributeTaskHandler`, this property sets additional attributes by adding text into the `Set-Cookie` header.

Specify a key:value map, where the key is the cookie name, and the value the string to add to the the `Set-Cookie` header.

Separate multiple values with a semicolon.

|                          |                                                                                                                                                           |
| ------------------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.set.cookie.attribute.map`                                                                                                           |
| Aliases                  | `org.forgerock.agents.set.cookie.attribute.map`   Introduced in Java Agent 5.6.3.0   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 7 |
| Function                 | SameSite                                                                                                                                                  |
| Type                     | Map- Keys: Cookie name

- Values: (samesite) text to be added to the Set-Cookie header                                                                    |
| Bootstrap property       | No                                                                                                                                                        |
| Required property        | No                                                                                                                                                        |
| Restart required         | No                                                                                                                                                        |
| Local configuration file | `AgentConfig.properties`                                                                                                                                  |
| AM console               | Tab: `SSO (from AM 7)`Title: `Set-Cookie Attribute Map`                                                                                                   |
