title: Spring HandlerInterceptor mapping with annotations
body: <p>Good day.
  I got a spring mvc application and 2 controllers inside. 
  First controller (PublicController) can process requests from all users, Second (PrivateController) can only process authorized users. </p>
  
  <p>So I implemented two Handler Interceptor`s </p>
  
  <pre><code>@Configuration
  @EnableWebMvc
  @ComponentScan(basePackages="webapp.base.package")
  public class WebApplicationConfig extends WebMvcConfigurerAdapter {
  
      @Override
      public void addInterceptors(InterceptorRegistry registry) {
          registry.addInterceptor(new LoggerInterceptor());
          registry.addInterceptor(new AccessInterceptor());
      }
  
  }
  </code></pre>
  
  <p>I need my <code>LoggerInterceptor</code> to handle all controller's requests, and my <code>AccessInterceptor</code> to handle only <code>PrivateController</code>'s requests. 
  I must map <code>Interceptors</code> to <code>Controllers</code> with annotations</p>