← Back to plugin index

New Email Clean-up Strategy

Description
Task strategy that deletes all IAK tokens that are older than the configured days. Sets the new email attribute back to null as it has not been confirmed.
Type name
NewEmailCleanUpStrategy
Class
com.airlock.iam.servicecontainer.app.application.configuration.task.token.NewEmailCleanUpStrategyConfig
May be used by
Properties
Token Data Provider (tokenDataProvider)
Description
The token data provider plugin is used to read all tokens to be handled by this task. Should be configured to only return the tokens that should be handled by this task.
Attributes
Plugin-Link
Mandatory
Assignable plugins
User Persister (userPersister)
Description
User persister to load and update technical user data (such as authentication data, login statistics, locking status etc).
Attributes
Plugin-Link
Mandatory
Assignable plugins
New Email Attribute (newEmailAttribute)
Description
Name of the user context data attribute that contains the user's new and not yet active email address. Make sure this attribute is configured as a context data column in the user persister.
Attributes
String
Optional
Default value
new_email
Days To Keep New Email (daysToKeepNewEmail)
Description
The number of days to keep the unverified email addresses in the database.
Attributes
Integer
Optional
Default value
1
YAML Template (with default values)

type: NewEmailCleanUpStrategy
id: NewEmailCleanUpStrategy-xxxxxx
displayName: 
comment: 
properties:
  daysToKeepNewEmail: 1
  newEmailAttribute: new_email
  tokenDataProvider:
  userPersister: