Class HvlAsyncTokenStartupContextListener

java.lang.Object
tr.com.havelsan.javarch.oauth.async.token.provider.context.listener.HvlAsyncTokenStartupContextListener

@Component public class HvlAsyncTokenStartupContextListener extends Object
The class in which the token is initialized in context.
  • Constructor Details

    • HvlAsyncTokenStartupContextListener

      public HvlAsyncTokenStartupContextListener(org.springframework.context.ApplicationContext applicationContext, HvlAsyncTokenAuthenticationService asyncTokenAuthenticationService, HvlAsyncTokenProperties asyncTokenProperties)
      Instantiates a new HvlAsyncTokenStartupContextListener.
      Parameters:
      asyncTokenAuthenticationService - the async token authentication service
      asyncTokenProperties - the async token properties
  • Method Details

    • onApplicationEvent

      @EventListener(org.springframework.boot.context.event.ApplicationReadyEvent.class) public void onApplicationEvent()