Interface EncryptionProvider<T extends ProviderConfig>
- Type Parameters:
T- type of the custom configuration object
- All Superinterfaces:
SecurityProvider
Provider that can encrypt and decrypt secrets.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classEncryption support created for each named encryption configuration. -
Method Summary
Modifier and TypeMethodDescriptionencryption(Config config) Create encryption support from configuration.encryption(T providerConfig) Create encryption support from configuration object.Methods inherited from interface SecurityProvider
supportedAnnotations, supportedAttributes, supportedConfigKeys, supportedCustomObjectsModifier and TypeMethodDescriptiondefault Collection<Class<? extends Annotation>> Provide extension annotations supported by this provider (e.g.default Collection<String> A collection of attribute names expected by this provider to override endpoint configuration.default Collection<String> Keys expected in configuration.default Collection<Class<? extends ProviderConfig>> Class of the configuration type.
-
Method Details
-
encryption
Create encryption support from configuration.- Parameters:
config- config located on the node of the specific encryptionconfignode- Returns:
- encryption support to encrypt/decrypt
-
encryption
Create encryption support from configuration object.- Parameters:
providerConfig- configuring a specific encryption- Returns:
- encryption support to encrypt/decrypt
-