aboutsummaryrefslogtreecommitdiffstats
path: root/controller-api/src/main/java/com/yahoo/vespa/hosted/controller/api/integration/athenz/AthenzClientFactory.java
blob: be8b1de771fcc687931ef17163405b5aaf5aee3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// 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.athenz;

import com.yahoo.vespa.athenz.api.AthenzIdentity;
import com.yahoo.vespa.athenz.client.zms.ZmsClient;
import com.yahoo.vespa.athenz.client.zts.ZtsClient;

/**
 * @author bjorncs
 */
public interface AthenzClientFactory {

    AthenzIdentity getControllerIdentity();

    ZmsClient createZmsClient();

    ZtsClient createZtsClient();

    default boolean cacheLookups() { return false; }

}