diff options
author | Bjørn Christian Seime <bjorncs@oath.com> | 2017-12-11 14:17:03 +0100 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@oath.com> | 2017-12-12 12:42:09 +0100 |
commit | 10a0ec68ff2977bcd0a8cfe87fd5a46bac9f1c93 (patch) | |
tree | 31e0c8cf23bc51230c6b4100c43eab324a7eaaef /controller-api/src/main/java | |
parent | 7e35c730c7b63ad5e2a4d5d82f0da7687a441e71 (diff) |
Add provider for SSLContext configured with Athenz certs
The provided SSLContext is configured with a keystore containing the
Athenz service certificate and a trust store containing the Athenz CA
certificates.
Diffstat (limited to 'controller-api/src/main/java')
-rw-r--r-- | controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/athenz/AthenzSslContextProvider.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/athenz/AthenzSslContextProvider.java b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/athenz/AthenzSslContextProvider.java new file mode 100644 index 00000000000..480105a2d86 --- /dev/null +++ b/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/athenz/AthenzSslContextProvider.java @@ -0,0 +1,14 @@ +// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +package com.yahoo.vespa.hosted.controller.api.integration.athenz; + +import com.google.inject.Provider; + +import javax.net.ssl.SSLContext; + +/** + * Provides a {@link SSLContext} for use in controller clients communicating with Athenz TLS secured services. + * It is configured with a keystore containing the Athenz service certificate and a trust store with the Athenz CA certificates. + * + * @author bjorncs + */ +public interface AthenzSslContextProvider extends Provider<SSLContext> {} |