public class DefaultLazyPropertyDetector extends Object implements EncryptablePropertyDetector
EncryptablePropertyDetector bean or initializes a
default DefaultPropertyDetector.| Constructor and Description |
|---|
DefaultLazyPropertyDetector(String prefix,
String suffix,
String customDetectorBeanName,
boolean isCustom,
org.springframework.beans.factory.BeanFactory bf) |
| Modifier and Type | Method and 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 © 2019. All rights reserved.