Class EncryptUtils

java.lang.Object
org.pentaho.di.connections.utils.EncryptUtils

public class EncryptUtils extends Object
  • Method Details

    • encryptFields

      public static void encryptFields(Object object)
    • decryptFields

      public static void decryptFields(Object connectionDetails)
    • transformFields

      public static <E extends Exception> void transformFields(Object object, EncryptUtils.Transformer<E> transformer) throws E
      Transforms the values of the fields of an object which are marked with the Encrypted annotation.
      Parameters:
      object - The object whose fields to transform.
      transformer - The transformer function.
      Throws:
      E extends Exception
    • setValue

      public static void setValue(Object object, Field field, String value)
    • getValue

      public static String getValue(Object object, Field field)