...
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
Localtabgroup |
---|
Localtab |
---|
active | true Expand |
---|
title | Specific XML Attributes |
---|
|
Name | Type | Default | Description |
---|
generatedAttributeID
| string | ID of the connector | ID of the IdPAttribute generated | salt OR encodedSalt | string |
| 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
| string | BASE64 | Controls 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 | PT5S | Timeout for the queries made against the database | transactionRetries
| integer | 3 | Number of retries if insertion fails due to database transaction bugs | tableName 4.1 | string | shibpid | Overrides name of database table to use | failFastInitialize
| boolean | false | Whether 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 strings | 23000 23505 | SQLState codes to treat as retryable errors indicating a duplicate insert due to database transaction bugs | exceptionMapRef | Bean 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 |
---|
title | Specific XML Elements |
---|
|
One of the following MUST be provided: localtab
|
Expand |
---|
title | Common XML Attributes |
---|
|
Include Page |
---|
| DataConnectorCommonAttributes |
---|
| DataConnectorCommonAttributes |
---|
| localtab |
Expand |
---|
|
Include Page |
---|
| DataConnectorCommonChildElements |
---|
| DataConnectorCommonChildElements |
---|
|
|
Example
Code Block |
---|
|
<DataConnector id="StoredIDConnector" xsi:type="StoredId" generatedAttributeID="StoredId" sourceAttributeID="email">
<BeanManagedConnection>TheDataConnectorId</BeanManagedConnection>
</DataConnector> |
...