public class AmbariServerConfigurationEncryptor extends Object implements Encryptor<AmbariServerConfiguration>
ENCRYPTED_PROPERTY_PREFIX, ENCRYPTED_PROPERTY_SCHEME, NONE| Constructor and Description |
|---|
AmbariServerConfigurationEncryptor(EncryptionService encryptionService) |
| Modifier and Type | Method and Description |
|---|---|
void |
decryptSensitiveData(AmbariServerConfiguration decryptible)
Decrypts the given decryptible object
|
void |
encryptSensitiveData(AmbariServerConfiguration encryptible)
Encrypts the given encryptible object
|
String |
getEncryptionKey() |
@Inject public AmbariServerConfigurationEncryptor(EncryptionService encryptionService)
public void encryptSensitiveData(AmbariServerConfiguration encryptible)
EncryptorencryptSensitiveData in interface Encryptor<AmbariServerConfiguration>encryptible - to be encryptedpublic void decryptSensitiveData(AmbariServerConfiguration decryptible)
EncryptordecryptSensitiveData in interface Encryptor<AmbariServerConfiguration>decryptible - to be decryptedpublic String getEncryptionKey()
getEncryptionKey in interface Encryptor<AmbariServerConfiguration>Copyright © 2022 Apache Software Foundation. All rights reserved.