summaryrefslogtreecommitdiffstats
path: root/controller-server/src
diff options
context:
space:
mode:
authorØyvind Grønnesby <oyving@verizonmedia.com>2020-09-30 12:36:39 +0200
committerGitHub <noreply@github.com>2020-09-30 12:36:39 +0200
commitd2d453062ff8b6593626b9c9c9ba3f61079ff34c (patch)
tree0965f2aec13c019a478d8877271eb7b9ead75396 /controller-server/src
parent7f11e8043773bbef8f03c6b864b2bbbb5938b734 (diff)
Update controller-server/src/main/java/com/yahoo/vespa/hosted/controller/restapi/filter/SignatureFilter.java
Co-authored-by: Jon Marius Venstad <jonmv@users.noreply.github.com>
Diffstat (limited to 'controller-server/src')
-rw-r--r--controller-server/src/main/java/com/yahoo/vespa/hosted/controller/restapi/filter/SignatureFilter.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/restapi/filter/SignatureFilter.java b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/restapi/filter/SignatureFilter.java
index acacdce9e8d..3be8d0cfe66 100644
--- a/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/restapi/filter/SignatureFilter.java
+++ b/controller-server/src/main/java/com/yahoo/vespa/hosted/controller/restapi/filter/SignatureFilter.java
@@ -67,8 +67,8 @@ public class SignatureFilter extends JsonSecurityRequestFilterBase {
private boolean keyVerifies(PublicKey key, DiscFilterRequest request) {
/* This method only checks that the content hash has been signed by the provided public key, but
* does not verify the content of the request. jDisc request filters do not allow inspecting the
- * request body, so this responsibility falls on the handler consuming the body instead. For this
- * specific case the request body is validated in {@link ApplicationApiHandler.parseDataParts}.
+ * request body, so this responsibility falls on the handler consuming the body instead. For the
+ * deployment cases, the request body is validated in {@link ApplicationApiHandler.parseDataParts}.
*/
return new RequestVerifier(key, controller.clock()).verify(Method.valueOf(request.getMethod()),
request.getUri(),