title: How to get httprequest and httpresponse in ApplicationListener in Spring Boot application?
body: <p>I would like to set browser cookie value after login successfully. 
  I am able to detect success login event with following code. </p>
  
  <pre class="lang-java prettyprint-override"><code>@Component
  @Slf4j
  public class LoginEventListener implements ApplicationListener&lt;InteractiveAuthenticationSuccessEvent&gt; {
  
      @Override
      public void onApplicationEvent(InteractiveAuthenticationSuccessEvent event) {
  
          log.info("hahaha: " + event.toString());
      }
  }
  </code></pre>