Class ExpiredAuthorizationCleanupJob
java.lang.Object
com.irurueta.authserver.authorization.api.web.tokens.ExpiredAuthorizationCleanupJob
Periodically deletes the expired and the abandoned authorizations. The schedule is the cron expression
authserver.tokens.cleanup.cron (default: every hour). Scheduling is enabled by the feature-neutral
SchedulingConfiguration.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final CleanExpiredAuthorizationsUseCaseDeletes the expired authorizations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidrun()Deletes the expired and the abandoned authorizations.
-
Field Details
-
cleanExpiredAuthorizationsUseCase
Deletes the expired authorizations.
-
-
Constructor Details
-
ExpiredAuthorizationCleanupJob
public ExpiredAuthorizationCleanupJob()
-
-
Method Details
-
run
@Scheduled(cron="${authserver.tokens.cleanup.cron:0 0 * * * *}") public void run()Deletes the expired and the abandoned authorizations.
-