← Back to plugin index

Accepted SSO Tickets Clean-up Task

Description

Task to clean up expired accepted SSO tickets entries from the database.

It is recommended to schedule this task during a time with little traffic. Depending on the number of expired accepted SSO tickets, the task may take some time to complete.

Note: The clean up task ignores tenant IDs, all expired SSO tickets are deleted regardless of their tenant IDs.

Type name
AcceptedSsoTicketsCleanupTask
Class
com.airlock.iam.servicecontainer.app.application.configuration.task.sso.AcceptedSsoTicketsCleanupTaskConfig
May be used by
Properties
Accepted SSO Tickets Repository (acceptedSsoTicketRepository)
Description

Defines the accepted SSO ticket repository from which expired tickets are to be removed.

Note that this repository may be different from the one configured in the service container which stores accepted SSO tickets used to access it and rejects previously accepted ones.

Attributes
Plugin-Link
Mandatory
Assignable plugins
Batch Size (batchSize)
Description

During clean-up, accepted SSO tickets are deleted in batches of this size.

This ensures that any row locks on the database are very short-lived, not affecting parallel ticket insertions. This value should not be set too high to prevent very long running transactions. Accepted SSO ticket clean-up will repeat deleting this number of tickets until all expired tickets have been cleaned up. Therefore, this task can take some time when a lot of accepted SSO tickets are present.

This size should be chosen so that every batch does not take longer than 5 seconds. The average runtime of the batches can be found in the task's logs.

Attributes
Integer
Optional
Default value
1000
YAML Template (with default values)

type: AcceptedSsoTicketsCleanupTask
id: AcceptedSsoTicketsCleanupTask-xxxxxx
displayName: 
comment: 
properties:
  acceptedSsoTicketRepository:
  batchSize: 1000