| Package | Description |
|---|---|
| org.apache.nifi.security.repository | |
| org.apache.nifi.security.repository.config |
| Modifier and Type | Method and Description |
|---|---|
static RepositoryType |
RepositoryType.determineType(String input)
Uses loose string matching to determine the repository type from input.
|
static RepositoryType |
RepositoryType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RepositoryType[] |
RepositoryType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
private static KeyProvider |
RepositoryEncryptorUtils.buildKeyProvider(NiFiProperties niFiProperties,
RepositoryType repositoryType)
Returns a configured
KeyProvider instance that does not require a master key to use (usually a StaticKeyProvider). |
static KeyProvider |
RepositoryEncryptorUtils.buildKeyProvider(NiFiProperties niFiProperties,
SecretKey masterKey,
RepositoryType repositoryType)
Returns a configured
KeyProvider instance that requires a master key to use
(usually a FileBasedKeyProvider or an encrypted
StaticKeyProvider). |
(package private) static String |
RepositoryEncryptorUtils.determineKeyProviderImplementationClassName(RepositoryType repositoryType)
Utility method which returns the
KeyProvider implementation class name for a given repository type. |
static boolean |
RepositoryEncryptorUtils.isRepositoryEncryptionConfigured(NiFiProperties niFiProperties,
RepositoryType repositoryType)
Returns
true if the specified repository is correctly configured for an
encrypted implementation. |
static KeyProvider |
RepositoryEncryptorUtils.validateAndBuildRepositoryKeyProvider(NiFiProperties niFiProperties,
RepositoryType repositoryType)
Returns a configured
KeyProvider instance for the specified repository type given the configuration values in nifi.properties. |
| Modifier and Type | Field and Description |
|---|---|
(package private) RepositoryType |
RepositoryEncryptionConfiguration.repositoryType |
| Modifier and Type | Method and Description |
|---|---|
RepositoryType |
RepositoryEncryptionConfiguration.getRepositoryType()
Returns the
RepositoryType enum identifying this repository. |
| Modifier and Type | Method and Description |
|---|---|
static RepositoryEncryptionConfiguration |
RepositoryEncryptionConfiguration.fromNiFiProperties(NiFiProperties niFiProperties,
RepositoryType repositoryType) |
Copyright © 2020 Apache NiFi Project. All rights reserved.