diff options
author | Valerij Fredriksen <valerijf@yahooinc.com> | 2022-05-20 15:46:17 +0200 |
---|---|---|
committer | Valerij Fredriksen <valerijf@yahooinc.com> | 2022-05-20 15:52:36 +0200 |
commit | 4747938832aecb6b1639050983cdfcb079da1a1f (patch) | |
tree | b009fde7c2edb0c2746a179fbe6b39f79953b692 /controller-api | |
parent | b13e6071410d51b31b956cf4c856d21334d9fd41 (diff) |
Use config server SSLSocketFactory in FlagsClient and ConfigServerRestExecutor
Diffstat (limited to 'controller-api')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/ControllerIdentityProvider.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/ControllerIdentityProvider.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/ControllerIdentityProvider.java new file mode 100644 index 00000000000..d2a7fb01ae2 --- /dev/null +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/ControllerIdentityProvider.java @@ -0,0 +1,16 @@ +// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package com.yahoo.vespa.hosted.controller.api.integration; + +import com.yahoo.vespa.athenz.identity.ServiceIdentityProvider; + +import javax.net.ssl.SSLSocketFactory; + +/** + * @author freva + */ +public interface ControllerIdentityProvider extends ServiceIdentityProvider { + + /** Returns SSLSocketFactory that creates appropriate sockets to talk to the different config servers */ + SSLSocketFactory getConfigServerSslSocketFactory(); + +} |