code: @Override
      public void doFilterInternal(final HttpServletRequest request,
              final HttpServletResponse response, final FilterChain chain)
              throws IOException, ServletException {
  
          final String authToken = tokenHelper.getToken(request);
          if (authToken == null || skipPathRequest(request, pathsToSkip)) {
              logger.debug("Going anonymous");
              SecurityContextHolder.getContext()
                      .setAuthentication(new AnonAuthentication());
          } else {
              processToken(authToken);
          }
  
          chain.doFilter(request, response);
      }
docs: {@inheritDoc}