commit | 20e0f3e54c781fa4c8c9a21d8385c9fb9ccf5f3c | [log] [tgz] |
---|---|---|
author | Luca Milanesio <luca.milanesio@gmail.com> | Wed Apr 25 12:17:36 2018 +0100 |
committer | Luca Milanesio <luca.milanesio@gmail.com> | Thu Apr 26 07:05:17 2018 +0000 |
tree | e61725b5692ea7f6034b39618f7b9f05ec835794 | |
parent | 0be8675ad1f8092c7c4a974006929305d0c4bddd [diff] |
Workaround to be able to invoke Gerrit API Historically Gerrit needed the X-Gerrit-Auth HTTP header that is unknown to the browser and to the client. Workaround the issue by injecting a ServletFilter that will enable the REST API paths relevant to the current plugin as valid authenticated endpoints. Bug: Issue 8843 Change-Id: I5c39157d5adbcc34a2d112ffe8c2229183476ef8