Combining User Persister
Description
Merges the results of several UserPersisters. This may only work as expected, if every user persister cares about a distinct subset of users.
May be used by
Email User Profile Item Email Notification Task Email Notification Task Destroy Last User Session Lock Expired Initial Passwords Task Lock Expired Initial Passwords Task Custom User Persister-based User Store Provider Delete Users Task Delete Users Task User Persister-based User Store Meta Authenticator Email Notifier Self Reg Users Clean Up Task User to Password Service Mapping New Email Clean-up Strategy Vasco Letter Generator User Persister Email Certificate Provider Password Batch Task Password Batch Task HTTP Password Service Self Reg Users Reminder Task Certificate Authenticator Combining Extended User Persister User Persister Configuration User Persister Configuration User Persister Configuration String User Profile Item Lock Inactive Accounts Task Lock Inactive Accounts Task Token Activation On Delivery Strategy Password Authenticator Selection Authenticator Main Authenticator Auth Method-based Authenticator Selector Extended String User Profile Item Certificate Token Authenticator Integer User Profile Item Radius Authentication Service Lookup and Accept Authenticator SMS Notifier Role-based Authenticator Selector Export Users Task Export Users Task Airlock 2FA Authenticator Credential Data Certificate Matcher
Properties
Persisters (
persisters) Description
The list of persisters in the order they are combined. When a user exists in multiple inner persisters an exception is thrown, or the first persister in this list wins, depending on the configuration flag
Allow Duplicates. Attributes
Plugin-List
Mandatory
Assignable plugins
Allow Duplicates (
allowDuplicates) Description
If this flag is set to true, the result from the first inner persister where the user is found is returned.
Potentially the user may be found by an other persister. If this flag is set to false, always all inner persisters are asked, and if a userId is found by multiple inner persisters, a NotUniqueException is thrown.
Iterator methods are always called on all persisters, but if Allow Duplicates is enabled, no exception is thrown in case of duplicates.
Attributes
Boolean
Optional
Default value
false
YAML Template (with default values)
type: CombiningUserPersister
id: CombiningUserPersister-xxxxxx
displayName:
comment:
properties:
allowDuplicates: false
persisters: