JavaKeyStoreProvider.Factory, KMSClientProvider.Factory, UserProvider.Factory@Public
@Unstable
public abstract class KeyProviderFactory
extends java.lang.Object
| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
KEY_PROVIDER_PATH |
| Constructor | Description |
|---|---|
KeyProviderFactory() |
| Modifier and Type | Method | Description |
|---|---|---|
abstract KeyProvider |
createProvider(java.net.URI providerName,
Configuration conf) |
|
static KeyProvider |
get(java.net.URI uri,
Configuration conf) |
Create a KeyProvider based on a provided URI.
|
static java.util.List<KeyProvider> |
getProviders(Configuration conf) |
public static final java.lang.String KEY_PROVIDER_PATH
public abstract KeyProvider createProvider(java.net.URI providerName, Configuration conf) throws java.io.IOException
java.io.IOExceptionpublic static java.util.List<KeyProvider> getProviders(Configuration conf) throws java.io.IOException
java.io.IOExceptionpublic static KeyProvider get(java.net.URI uri, Configuration conf) throws java.io.IOException
uri - key provider URIconf - configuration to initialize the key providerNULL if
a provider for the specified URI scheme could not be found.java.io.IOException - thrown if the provider failed to initialize.Copyright © 2008–2025 Apache Software Foundation. All rights reserved.