IG 2023.2

JwtBuilderContext

When the JwtBuilderFilter processes a request, it stores provided data in this context. This context returns the JWT as string, JsonValue, or map for downstream use.

Properties

The context is named jwtBuilder, and is accessible at ${contexts.jwtBuilder}, with the following properties:

"value": java.lang.String

The base64url encoded UTF-8 parts of the JWT, containing name-value pairs of data. Cannot be null.

"claims": java.util.Map

Map with the format Map<String,Object>, where:

  • Key: Claim name

  • Value: Claim value

"claimsAsJsonValue": org.forgerock.json.JsonValue

Claims as a JSon value.

Copyright © 2010-2023 ForgeRock, all rights reserved.