gerrit/javatests/com/google/gerrit/httpd
Patrick Hiesel 76e588b688 Filter out access_token when logging exception
When the user uses OAuth for accessing Gerrit, the query parameters
contain an access token. This token is used for authenticating the user
with Gerrit. It should never be logged as a logged token could be used
to impersonate the user the user when sending requests to Gerrit.

Previously, we already redacted the access token from Jetty logs, now
we move this logic to RestApiServlet to redact it in other environments
as well. We'll leave it in the Jetty logger for now as the filtering is
cheap and there might be other logging sources besides RestApiServlet.

Change-Id: Id7c207f697f53f319ff9f959754a95a3f5f92409
2018-10-08 11:36:53 +00:00
..
plugins Dissolve gerrit-httpd top-level directory 2017-10-31 11:02:36 -04:00
raw Merge branch 'stable-2.15' 2018-09-13 09:55:53 +09:00
restapi Filter out access_token when logging exception 2018-10-08 11:36:53 +00:00
AllRequestFilterFilterProxyTest.java DynamicSet: Store names of plugins who bound the items 2018-08-30 20:43:38 +02:00
BUILD Move Truth rules to a subdirectory of lib 2018-05-16 14:20:06 -07:00
RemoteUserUtilTest.java Dissolve gerrit-httpd top-level directory 2017-10-31 11:02:36 -04:00