DefaultLazyPropertyDetector, DefaultPropertyDetectorpublic interface EncryptablePropertyDetector
isEncrypted(String) would
return true when a property effectively enclosed in such prefix/suffix and unwrapEncryptedValue(String)
would return the encrypted value, the portion of the property without the prefix and 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.
|
boolean isEncrypted(String property)
property - the property value to check whether is encrypted or not.String unwrapEncryptedValue(String property)
property - the property value to extract the encrypted value.Copyright © 2018. All rights reserved.