Uses of Interface
org.apache.drill.common.logical.security.CredentialsProvider
Package
Description
Storage plugin interfaces and logical plan representation.
Drill storage plugin.
MongoDB storage plugin.
-
Uses of CredentialsProvider in org.apache.drill.common.logical
Modifier and TypeFieldDescriptionprotected final CredentialsProvider
StoragePluginConfig.credentialsProvider
Modifier and TypeMethodDescriptionStoragePluginConfig.updateCredentialProvider
(CredentialsProvider credentialsProvider) ModifierConstructorDescriptionStoragePluginConfig
(CredentialsProvider credentialsProvider, boolean directCredentials) StoragePluginConfig
(CredentialsProvider credentialsProvider, boolean directCredentials, StoragePluginConfig.AuthMode authMode) StoragePluginConfig
(CredentialsProvider credentialsProvider, boolean directCredentials, StoragePluginConfig.AuthMode authMode, OAuthConfig oAuthConfig) -
Uses of CredentialsProvider in org.apache.drill.common.logical.security
Modifier and TypeClassDescriptionclass
Implementation ofCredentialsProvider
that holds credentials provided by user.Modifier and TypeFieldDescriptionstatic final CredentialsProvider
PlainCredentialsProvider.EMPTY_CREDENTIALS_PROVIDER
-
Uses of CredentialsProvider in org.apache.drill.exec.store.cassandra
Modifier and TypeMethodDescriptionCassandraStorageConfig.updateCredentialProvider
(CredentialsProvider credentialsProvider) ModifierConstructorDescriptionCassandraStorageConfig
(String host, int port, String username, String password, String authMode, CredentialsProvider credentialsProvider) -
Uses of CredentialsProvider in org.apache.drill.exec.store.dfs
ModifierConstructorDescriptionFileSystemConfig
(String connection, List<String> mountCommand, List<String> unmountCommand, Map<String, String> config, Map<String, WorkspaceConfig> workspaces, Map<String, FormatPluginConfig> formats, OAuthConfig oAuthConfig, String authMode, CredentialsProvider credentialsProvider) FileSystemConfig
(String connection, Map<String, String> config, Map<String, WorkspaceConfig> workspaces, Map<String, FormatPluginConfig> formats, OAuthConfig oAuthConfig, CredentialsProvider credentialsProvider) FileSystemConfig
(String connection, Map<String, String> config, Map<String, WorkspaceConfig> workspaces, Map<String, FormatPluginConfig> formats, CredentialsProvider credentialsProvider) -
Uses of CredentialsProvider in org.apache.drill.exec.store.drill.plugin
Modifier and TypeMethodDescriptionDrillStoragePluginConfig.updateCredentialProvider
(CredentialsProvider credentialsProvider) ModifierConstructorDescriptionDrillStoragePluginConfig
(String connection, Properties properties, CredentialsProvider credentialsProvider, String authMode) -
Uses of CredentialsProvider in org.apache.drill.exec.store.elasticsearch
Modifier and TypeMethodDescriptionElasticsearchStorageConfig.updateCredentialProvider
(CredentialsProvider credentialsProvider) ModifierConstructorDescriptionElasticsearchStorageConfig
(List<String> hosts, String username, String password, String pathPrefix, String authMode, boolean disableSSLVerification, CredentialsProvider credentialsProvider) -
Uses of CredentialsProvider in org.apache.drill.exec.store.googlesheets
Modifier and TypeMethodDescriptionGoogleSheetsStoragePluginConfig.GoogleSheetsStoragePluginConfigBuilder.credentialsProvider
(CredentialsProvider credentialsProvider) GoogleSheetsStoragePluginConfig.updateCredentialProvider
(CredentialsProvider credentialsProvider) ModifierConstructorDescriptionGoogleSheetsStoragePluginConfig
(String clientID, String clientSecret, List<String> redirectUris, String authUri, String tokenUri, Boolean allTextMode, Boolean extractHeaders, OAuthConfig oAuthConfig, CredentialsProvider credentialsProvider) GoogleSheetsStoragePluginConfig
(GoogleSheetsStoragePluginConfig that, CredentialsProvider credentialsProvider) -
Uses of CredentialsProvider in org.apache.drill.exec.store.http
Modifier and TypeMethodDescriptionHttpApiConfig.HttpApiConfigBuilder.credentialsProvider
(CredentialsProvider credentialsProvider) static Optional<OAuthTokenCredentials>
HttpStoragePluginConfig.getOAuthCredentials
(CredentialsProvider credentialsProvider) HttpStoragePluginConfig.updateCredentialProvider
(CredentialsProvider credentialsProvider) ModifierConstructorDescriptionHttpStoragePluginConfig
(Boolean cacheResults, Map<String, HttpApiConfig> connections, Integer timeout, Integer retryDelay, String username, String password, String proxyHost, Integer proxyPort, String proxyType, String proxyUsername, String proxyPassword, OAuthConfig oAuthConfig, CredentialsProvider credentialsProvider, String authMode) -
Uses of CredentialsProvider in org.apache.drill.exec.store.http.oauth
Modifier and TypeMethodDescriptionstatic String
OAuthUtils.buildAccessTokenURL
(CredentialsProvider credentialsProvider) Helper method for building the access token URL.static okhttp3.Request
OAuthUtils.getAccessTokenRequest
(CredentialsProvider credentialsProvider, String authenticationCode, String callbackURL) Crafts a POST request to obtain an access token.static okhttp3.Request
OAuthUtils.getAccessTokenRequestFromRefreshToken
(CredentialsProvider credentialsProvider, String refreshToken) Crafts a POST request to obtain an access token.static okhttp3.RequestBody
OAuthUtils.getPostRequest
(CredentialsProvider credentialsProvider, String authorizationCode, String callbackURL) Crafts a POST request to obtain an access token.static okhttp3.RequestBody
OAuthUtils.getPostRequestForTokenRefresh
(CredentialsProvider credentialsProvider, String refreshToken) Crafts a POST request for refreshing an access token when a refresh token is present. -
Uses of CredentialsProvider in org.apache.drill.exec.store.jdbc
Modifier and TypeMethodDescriptionJdbcStorageConfig.updateCredentialProvider
(CredentialsProvider credentialsProvider) ModifierConstructorDescriptionJdbcStorageConfig
(String driver, String url, String username, String password, boolean caseInsensitiveTableNames, boolean writable, Map<String, Object> sourceParameters, CredentialsProvider credentialsProvider, String authMode, int writerBatchSize) -
Uses of CredentialsProvider in org.apache.drill.exec.store.mongo
Modifier and TypeMethodDescriptionMongoStoragePluginConfig.updateCredentialProvider
(CredentialsProvider credentialsProvider) ModifierConstructorDescriptionMongoStoragePluginConfig
(String connection, MongoStoragePluginConfig.MongoPluginOptimizations pluginOptimizations, Integer batchSize, boolean allowDiskUse, CredentialsProvider credentialsProvider) -
Uses of CredentialsProvider in org.apache.drill.exec.store.phoenix
-
Uses of CredentialsProvider in org.apache.drill.exec.store.security
Modifier and TypeClassDescriptionclass
Implementation ofCredentialsProvider
that obtains credential values from environment variables.class
Implementation ofCredentialsProvider
that obtains credential values fromConfiguration
properties.Modifier and TypeMethodDescriptionstatic CredentialsProvider
CredentialProviderUtils.getCredentialsProvider
(String clientID, String clientSecret, String tokenURI, String username, String password, String proxyUsername, String proxyPassword, CredentialsProvider credentialsProvider) Constructor for OAuth based authentication.static CredentialsProvider
CredentialProviderUtils.getCredentialsProvider
(String username, String password, CredentialsProvider credentialsProvider) Returns specifiedCredentialsProvider credentialsProvider
if it is not null or builds and returnsPlainCredentialsProvider
with specifiedUSERNAME
andPASSWORD
.Modifier and TypeMethodDescriptionstatic CredentialsProvider
CredentialProviderUtils.getCredentialsProvider
(String clientID, String clientSecret, String tokenURI, String username, String password, String proxyUsername, String proxyPassword, CredentialsProvider credentialsProvider) Constructor for OAuth based authentication.static CredentialsProvider
CredentialProviderUtils.getCredentialsProvider
(String username, String password, CredentialsProvider credentialsProvider) Returns specifiedCredentialsProvider credentialsProvider
if it is not null or builds and returnsPlainCredentialsProvider
with specifiedUSERNAME
andPASSWORD
.UsernamePasswordCredentials.Builder.setCredentialsProvider
(CredentialsProvider credentialsProvider) UsernamePasswordWithProxyCredentials.Builder.setCredentialsProvider
(CredentialsProvider credentialsProvider) -
Uses of CredentialsProvider in org.apache.drill.exec.store.security.oauth
Modifier and TypeMethodDescriptionOAuthTokenCredentials.Builder.setCredentialsProvider
(CredentialsProvider credentialsProvider) -
Uses of CredentialsProvider in org.apache.drill.exec.store.security.vault
Modifier and TypeClassDescriptionclass
Implementation ofCredentialsProvider
that obtains credential values fromVault
. -
Uses of CredentialsProvider in org.apache.drill.exec.store.splunk
Modifier and TypeMethodDescriptionSplunkPluginConfig.updateCredentialProvider
(CredentialsProvider credentialsProvider) ModifierConstructorDescriptionSplunkPluginConfig
(String username, String password, String scheme, String hostname, Integer port, String app, String owner, String token, String cookie, boolean validateCertificates, String earliestTime, String latestTime, CredentialsProvider credentialsProvider, Integer reconnectRetries, String authMode, boolean writable, Integer writerBatchSize)