Class ExpiredAuthorizationCleanupJob

java.lang.Object
com.irurueta.authserver.authorization.api.web.tokens.ExpiredAuthorizationCleanupJob

@Component public class ExpiredAuthorizationCleanupJob extends Object
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 Details

  • 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.