Package com.gojek.feast
Class SecurityConfig
- java.lang.Object
-
- com.gojek.feast.SecurityConfig
-
public abstract class SecurityConfig extends Object
SecurityConfig captures the security related configuration for FeastClient
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SecurityConfig.Builder
-
Constructor Summary
Constructors Constructor Description SecurityConfig()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract Optional<String>
getCertificatePath()
If specified and TLS is enabled, provides path to TLS certificate use the verify Service identity.abstract Optional<io.grpc.CallCredentials>
getCredentials()
Enables authentication If specified, the call credentials used to provide credentials to authenticate with Feast.abstract boolean
isTLSEnabled()
Whether to use TLS transport security is use when connecting to Feast.static SecurityConfig.Builder
newBuilder()
-
-
-
Method Detail
-
getCredentials
public abstract Optional<io.grpc.CallCredentials> getCredentials()
Enables authentication If specified, the call credentials used to provide credentials to authenticate with Feast.
-
isTLSEnabled
public abstract boolean isTLSEnabled()
Whether to use TLS transport security is use when connecting to Feast.
-
getCertificatePath
public abstract Optional<String> getCertificatePath()
If specified and TLS is enabled, provides path to TLS certificate use the verify Service identity.
-
newBuilder
public static SecurityConfig.Builder newBuilder()
-
-