summaryrefslogtreecommitdiffstats
path: root/tenant-auth
diff options
context:
space:
mode:
authorJon Marius Venstad <venstad@gmail.com>2019-10-25 12:52:24 +0200
committerJon Marius Venstad <venstad@gmail.com>2019-10-25 12:52:24 +0200
commit052987bb1acf8c78426a7f33e618560bb0269f50 (patch)
treeb70b5ee6a2def3d8ebdc5921a7c010dfcc6e3df6 /tenant-auth
parent91f027082d74a11016375782a9e4c2effd02f8a5 (diff)
Propagate more properties and rename some auth properties
Diffstat (limited to 'tenant-auth')
-rw-r--r--tenant-auth/src/main/java/ai/vespa/hosted/auth/EndpointAuthenticator.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tenant-auth/src/main/java/ai/vespa/hosted/auth/EndpointAuthenticator.java b/tenant-auth/src/main/java/ai/vespa/hosted/auth/EndpointAuthenticator.java
index e51476907e2..37d5106d0c2 100644
--- a/tenant-auth/src/main/java/ai/vespa/hosted/auth/EndpointAuthenticator.java
+++ b/tenant-auth/src/main/java/ai/vespa/hosted/auth/EndpointAuthenticator.java
@@ -50,8 +50,8 @@ public class EndpointAuthenticator implements ai.vespa.hosted.api.EndpointAuthen
else {
if (Properties.dataPlaneCertificateFile().isPresent())
certificateFile = Properties.dataPlaneCertificateFile().get();
- if (Properties.dataPlanePrivateKeyFile().isPresent())
- privateKeyFile = Properties.dataPlanePrivateKeyFile().get();
+ if (Properties.dataPlaneKeyFile().isPresent())
+ privateKeyFile = Properties.dataPlaneKeyFile().get();
}
if (certificateFile != null && privateKeyFile != null) {
X509Certificate certificate = X509CertificateUtils.fromPem(new String(Files.readAllBytes(certificateFile)));