Versions Compared

Key

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

...

The database definition required is the same as that described in the PersistentNameIDGenerationConfiguration documentation. You can (and usually should) share a data source definition between that feature and this one by defining the data source globally and referencing it via the <BeanManagedConnection> element.

Reference

true
Localtabgroup
Localtab
active
Expand
titleSpecific XML Attributes


NameTypeDefaultDescription

generatedAttributeID   

stringID of the connectorID of the IdPAttribute generated
salt OR encodedSaltstring
A salt, of at least 16 bytes, used in the computation. Must be directly provided or in a base64-encoded form, but one must be set. The encoded option allows for binary characters, whitespace, or other difficult to capture content in the salt.

encoding

stringBASE64Controls the eventual text encoding of the value, this should be set to "BASE32" for new deployments (see the warning box about case sensitivity under PersistentNameIDGenerationConfiguration)

queryTimeout

Duration

PT5STimeout for the queries made against the database

transactionRetries

integer3Number of retries if insertion fails due to database transaction bugs
tableName 4.1stringshibpidOverrides name of database table to use

failFastInitialize

booleanfalseWhether a failure when verifying the database's availability and primary key during startup is fatal (prevents the AttributeResolver service from starting or the configuration from reloading)

retryableErrors

space-delimited list of strings23000 23505SQLState codes to treat as retryable errors indicating a duplicate insert due to database transaction bugs
exceptionMapRefBean ID
References a Spring bean defining a map of exception overrides for altering salt or suppressing generation of IDs for users and services. See the "Sparse Overrides" section in the PersistentNameIDGenerationConfiguration topic.
localtab



Expand
titleSpecific XML Elements

One of the following MUST be provided:

NameCardinalityDescription

<ContainerManagedConnection>


0 or 1 (all elements)

Connects to a database via a JNDI resource defined in the container

<SimpleManagedConnection>

Connects to a database via a JDBC data source configured explicitly

<BeanManagedConnection>

Connects to a database via an externally specified DataSource
localtab



Expand
titleCommon XML Attributes

Include Page
DataConnectorCommonAttributes
DataConnectorCommonAttributes

localtab


Expand
titleCommon XML Elements

Include Page
DataConnectorCommonChildElements
DataConnectorCommonChildElements


Example

Code Block
languagexml
<DataConnector id="StoredIDConnector" xsi:type="StoredId" generatedAttributeID="StoredId" sourceAttributeID="email">
   <BeanManagedConnection>TheDataConnectorId</BeanManagedConnection>
</DataConnector>

...