Table of Contents

Search

  1. Preface
  2. Part 1: Introduction
  3. Part 2: Configuring Hub Console Tools
  4. Part 3: Building the Data Model
  5. Part 4: Configuring the Data Flow
  6. Part 5: Executing Informatica MDM Hub Processes
  7. Part 6: Configuring Application Access
  8. Appendix A: MDM Hub Properties
  9. Appendix B: Viewing Configuration Details
  10. Appendix C: Row-level Locking
  11. Appendix D: MDM Hub Logging
  12. Appendix E: Table Partitioning
  13. Appendix F: Collecting MDM Environment Information with the Product Usage Toolkit
  14. Appendix G: Glossary

Step 1. Implement DataEncryptor Interface

Step 1. Implement DataEncryptor Interface

You must implement the DataEncryptor interface. DataEncryptor interface defines the
encrypt
and the
decrypt
methods. The implementation of the encrypt and the decrypt methods must be thread-safe.
  1. Create a Java project in a Java Integrated Development Environment.
  2. Add the following MDM Hub JAR files to the Java project:
    • siperian-api.jar
    • siperian-common.jar
    The jar files are in the following directory:
    On UNIX.
    <
    infamdm_install_dir
    >/resourcekit/samples/DataEncryption/lib
    On Windows.
    <
    infamdm_install_dir
    >\resourcekit\samples\DataEncryption\lib
  3. Create a Java class for data encryption that includes the
    encrypt
    and the
    decrypt
    methods.
  4. Compile the data encryption Java class.
  5. To package the class files in a custom data encryption JAR file, run the following command:
    ant build
  6. To clean up the generated files, run the following command after the build completes:
    ant clean
  7. Implement the DataEncryptor interface in the custom data encryption JAR file that you create.

0 COMMENTS

We’d like to hear from you!