diff options
author | Jon Marius Venstad <venstad@gmail.com> | 2019-10-25 12:52:24 +0200 |
---|---|---|
committer | Jon Marius Venstad <venstad@gmail.com> | 2019-10-25 12:52:24 +0200 |
commit | 052987bb1acf8c78426a7f33e618560bb0269f50 (patch) | |
tree | b70b5ee6a2def3d8ebdc5921a7c010dfcc6e3df6 /tenant-auth | |
parent | 91f027082d74a11016375782a9e4c2effd02f8a5 (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.java | 4 |
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))); |