HTTP Basic-Auth support for direct access to GitBlit plugin.

Allow to access directly to GitBlit without going through
the standard Gerrit login process interactively: username
and password are retrieved using HTTP Basic-Auth from the
Http Request.

This is useful when using GitBlit RSS feeds that cannot
authenticate using the manual Gerrit form-based
authentication.

Cherry-picked from 6984f3e035a663414056c21823d18007c07465b8
and adapted for Gerrit 2.5

Change-Id: Iabf3a690f67c96207390070a7d380539a03c8459
Signed-off-by: Luca Milanesio <luca.milanesio@gmail.com>
5 files changed
tree: 71a7f4b3d814c3d852525390775b751acd39b5b8
  1. src/
  2. .gitignore
  3. LICENSE
  4. pom.xml
  5. README