EncryptablePropertyDetectorpublic class DefaultPropertyDetector extends Object implements EncryptablePropertyDetector
| Constructor | Description |
|---|---|
DefaultPropertyDetector() |
|
DefaultPropertyDetector(String prefix,
String suffix) |
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
isEncrypted(String property) |
Returns whether a property is encrypted or not.
|
String |
unwrapEncryptedValue(String property) |
Returns the portion of the property that is actually the encrypted value without any extra metadata such as
prefixes and suffixes.
|
public boolean isEncrypted(String property)
EncryptablePropertyDetectorisEncrypted in interface EncryptablePropertyDetectorproperty - the property value to check whether is encrypted or not.public String unwrapEncryptedValue(String property)
EncryptablePropertyDetectorunwrapEncryptedValue in interface EncryptablePropertyDetectorproperty - the property value to extract the encrypted value.Copyright © 2018. All rights reserved.