Class OIDCScopedStringAttributeTranscoder

All Implemented Interfaces:
AttributeTranscoder<JSONObject>, OIDCAttributeTranscoder, Component, DestructableComponent, InitializableComponent

public class OIDCScopedStringAttributeTranscoder extends AbstractOIDCAttributeTranscoder
Class encoding scoped string attributes to string json object. Name of the attribute will be set as the key. The string contains attribute value, delimiter and scope concatenated. If there are several attribute values they are delimited with delimiter(space is default) or placed to array.

For decoding, JSON Strings are split by the delimiter into a ScopedStringAttributeValue. For JSON Arrays, the elements are recessively visited and any JSON Strings are split by their delimiter into a list of ScopedStringAttributeValues.