Package com.lucidworks.apollo.store
Class EncryptingPipelineWriter<T extends com.lucidworks.apollo.pipeline.PipelineDefinition<T>>
java.lang.Object
com.lucidworks.apollo.store.EncryptingPipelineWriter<T>
- All Implemented Interfaces:
com.lucidworks.apollo.store.ItemWriter<T>
public class EncryptingPipelineWriter<T extends com.lucidworks.apollo.pipeline.PipelineDefinition<T>>
extends Object
implements com.lucidworks.apollo.store.ItemWriter<T>
ItemWriter that encrypts secrets (e.g. passwords) in pipeline definitions before saving to Zk-
Constructor Summary
ConstructorsConstructorDescriptionEncryptingPipelineWriter(com.fasterxml.jackson.databind.ObjectMapper mapper, com.lucidworks.apollo.security.crypto.StringEncryptor encryptor, Class<T> clazz, com.lucidworks.apollo.pipeline.schema.SchemaProcessorFactory schemaProcessorFactory) -
Method Summary
-
Constructor Details
-
EncryptingPipelineWriter
-
-
Method Details
-
write
- Specified by:
writein interfacecom.lucidworks.apollo.store.ItemWriter<T extends com.lucidworks.apollo.pipeline.PipelineDefinition<T>>- Throws:
IOException
-