类 EncryptionWrapperDetector

java.lang.Object
com.iplatform.core.config.enc.EncryptionWrapperDetector

public class EncryptionWrapperDetector extends Object
  • 构造器详细资料

    • EncryptionWrapperDetector

      public EncryptionWrapperDetector(String prefix, String suffix)
  • 方法详细资料

    • detected

      public boolean detected(String property)
      检测配置参数值,是否带有加密前缀,如果是返回:true
      参数:
      property -
      返回:
    • wrapper

      public String wrapper(String property)
      把属性值包装上加密函数
      参数:
      property -
      返回:
    • unWrapper

      public String unWrapper(String property)
      去掉加密函数,返回密文内容。
      参数:
      property -
      返回: