Page tree
Skip to end of metadata
Go to start of metadata

Crypto Transient ID Attribute Definition

Available in IdP 2.3 and later, this attribute definition produces a cryptographically verifiable opaque identifier that can later be mapped back to the user by a CryptoTransient principal connector. Using cryptographic transient identifiers allows multiple IdP nodes that share a symmetric key to produce and consume identifiers without sharing state. This is part of a stateless clustering solution.

Provide a DataSealer

The cryptographic settings needed for this plugin are supplied by a DataSealer, a Java bean component that you configure and then inject into the resolver.

Define the Definition

A crypto transient ID attribute definition starts with the same <resolver:AttributeDefinition> element as all other attribute definitions and has a type attribute of xsi:type="ad:CryptoTransientId". Each definition must also have an id attribute that assigns it an unique identifier (i.e., unique among all attribute definitions) used to refer to the definition within the rest of the attribute resolver configuration.

The <resolver:AttributeDefinition> element must also contain a dataSealerRef attribute that identifies a DataSealer Spring-configured bean. It may also contain a lifetime attribute controlling the length of time the identifier will be valid. This time limit is encrypted into the value.

Crypto Transient ID Attribute Definition
<resolver:AttributeDefinition id="cryptoTransientId" xsi:type="ad:CryptoTransientId"

    <resolver:AttributeEncoder xsi:type="encoder:SAML1StringNameIdentifier"

    <resolver:AttributeEncoder xsi:type="encoder:SAML2StringNameID"

While this attribute definition can have dependencies, like all other attribute definitions, they are never used. The transient ID comes exclusively from internal IdP state.

  • No labels