---
title: Enable Composite Advice Encoding
description: When true, composite advices are base64 URL-encoded before being sent to custom login endpoints. Use this property to increase security, and protect against cross-site scripting attacks.
component: java-agents
version: 2025.11
page_id: java-agents:properties-reference:org.forgerock.agents.advice.b64.url.encode.enabled
canonical_url: https://docs.pingidentity.com/java-agents/2025.11/properties-reference/org.forgerock.agents.advice.b64.url.encode.enabled.html
---

# Enable Composite Advice Encoding

When `true`, composite advices are base64 URL-encoded before being sent to custom login endpoints. Use this property to increase security, and protect against cross-site scripting attacks.

|                          |                                                                                                                                                                                                                                                                                                                              |
| ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Property name            | `org.forgerock.agents.advice.b64.url.encode.enabled`                                                                                                                                                                                                                                                                         |
| Aliases                  | `com.forgerock.agents.advice.b64.url.encode`   Introduced in Java Agent 5.6.2.1   [Recognized](preface.html#how_am_manages_multiple_aliases) from AM 7`org.forgerock.agents.advice.b64.url.encode.enabled`   Introduced in Java Agent 5.6.2.1`org.forgerock.agents.advice.b64.url.encode`   Introduced in Java Agent 5.6.2.1 |
| Function                 | Policy enforcement                                                                                                                                                                                                                                                                                                           |
| Type                     | Boolean: `true` returns true; all other strings return `false`.                                                                                                                                                                                                                                                              |
| Default                  | `false`                                                                                                                                                                                                                                                                                                                      |
| Bootstrap property       | No                                                                                                                                                                                                                                                                                                                           |
| Required property        | No                                                                                                                                                                                                                                                                                                                           |
| Restart required         | No                                                                                                                                                                                                                                                                                                                           |
| Local configuration file | `AgentConfig.properties`                                                                                                                                                                                                                                                                                                     |
| AM console               | Tab: `AM Services (from AM 7)`Title: `Enable Composite Advice Encoding`Legacy title: `Composite Advice Encode`                                                                                                                                                                                                               |
