Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In addition to the generic properties, all CAS transcoders support the following optional property:

Name

Type

Default

Description

cas.name

String

When encoding, the input IdPAttribute's ID and when decoding, the "id" property in the rule

The <cas:name> to map to and from

Transcoder Types

There are 2 built-in subtypes of CAS transcoders, as follows. Each one is predefined as a Spring bean for use in rules using the "short" name of the class, as enumerated in the TranscodingRuleConfiguration reference section.

...

CASScopedStringAttributeTranscoder

It This type supports encoding and decoding internal values from and to the ScopedStringAttributeValue class. It supports the following optional property:

Name

Type

Default

Description

cas.scopeDelimiter

String

@

The character(s) to use to separate the value and scope

CASDateTimeAttributeTranscoder 4.3

This type supports encoding and decoding internal values from and to the DateTimeAttributeValue class. It supports the following optional property:

Name

Type

Default

Description

cas.epochUnits

“s” or “ms”

“s”

When decoding, indicates the unit of conversion into an epoch for a numeric string, either seconds or milliseconds.