Package io.jmix.superset.schedule
Class SupersetTokenScheduleConfigurer
java.lang.Object
io.jmix.superset.schedule.SupersetTokenScheduleConfigurer
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 Summary
ConstructorDescriptionSupersetTokenScheduleConfigurer
(org.springframework.scheduling.TaskScheduler accessTokenTaskScheduler, org.springframework.scheduling.TaskScheduler csrfTokenTaskScheduler, SupersetProperties supersetProperties, SupersetTokenManager accessTokenManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
onContextRefreshedEvent
(org.springframework.context.event.ContextRefreshedEvent event) protected void
protected void
-
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()
-