summaryrefslogtreecommitdiffstats
path: root/vespa-athenz/src/main/java/com/yahoo/vespa/athenz/identity/ServiceIdentityProvider.java
blob: 6b318fb16be145d1a255341266ef810228d4ef28 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2018 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.athenz.identity;

import com.yahoo.container.jdisc.athenz.AthenzIdentityProvider;
import com.yahoo.vespa.athenz.api.AthenzService;

import javax.net.ssl.SSLContext;

/**
 * A interface for types that provides a service identity.
 * Some similarities to {@link AthenzIdentityProvider}, but this type is not public api and intended for internal use.
 *
 * @author bjorncs
 */
public interface ServiceIdentityProvider {
    AthenzService identity();
    SSLContext getIdentitySslContext();
}