Class SupersetTokenScheduleConfigurer

java.lang.Object
io.jmix.superset.schedule.SupersetTokenScheduleConfigurer

public class SupersetTokenScheduleConfigurer extends Object
The class starts schedule tasks for getting/refreshing access token and CSRF token. The availability of this class is managed by SupersetProperties.isTokensRefreshEnabled() property in autoconfiguration.
  • Constructor Details

    • SupersetTokenScheduleConfigurer

      public SupersetTokenScheduleConfigurer(org.springframework.scheduling.TaskScheduler accessTokenTaskScheduler, org.springframework.scheduling.TaskScheduler csrfTokenTaskScheduler, SupersetProperties supersetProperties, SupersetTokenManager accessTokenManager)
  • Method Details

    • onContextRefreshedEvent

      @EventListener public void onContextRefreshedEvent(org.springframework.context.event.ContextRefreshedEvent event)
    • startAccessTokenScheduler

      protected void startAccessTokenScheduler()
    • startCsrfTokenScheduler

      protected void startCsrfTokenScheduler()