code: protected boolean isLoggingIn(final Request request, final Response response)
      {
          return this.isInterceptingLogin()
                  && this.getLoginPath().equals(request.getResourceRef().getRemainingPart(false, false))
                  && Method.POST.equals(request.getMethod());
      }
docs: Indicates if the request is an attempt to log in and should be intercepted.
  
  @param request
  The current request.
  @param response
  The current response.
  @return True if the request is an attempt to log in and should be intercepted.