code:     protected void onUnsuccessfulAuthentication(HttpServletRequest request, HttpServletResponse response, AuthenticationException failed) throws IOException {
          super.onUnsuccessfulAuthentication(request, response, failed);
          LOGGER.log(Level.INFO, "Login attempt failed", failed);
      }
  
  