public class SensitiveDataEncryption extends Object
Constructor and Description |
---|
SensitiveDataEncryption(com.google.inject.Injector injector,
com.google.inject.persist.PersistService persistService) |
Modifier and Type | Method and Description |
---|---|
void |
doEncryption(boolean encrypt) |
static void |
main(String[] args)
Iterates thought all configs and encryption/decryption sensitive properties according to action
using the default configured masterkey
|
void |
startPersistenceService() |
void |
stopPersistenceService() |
@Inject public SensitiveDataEncryption(com.google.inject.Injector injector, com.google.inject.persist.PersistService persistService)
public void startPersistenceService()
public void stopPersistenceService()
public static void main(String[] args)
args
- "encryption" or "decryption" action expectedpublic void doEncryption(boolean encrypt)
encrypt
- selects mode: true=encrypt, false=decryptCopyright © 2022 Apache Software Foundation. All rights reserved.