Uploaded image for project: 'apiman (API Management)'
  1. apiman (API Management)
  2. APIMAN-441

Data encryption is broken when services are cloned

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.3.Final, 1.1.x
    • None
    • None
    • None

      The encrypted data (endpoint properties and policy config) is decrypted and stored when cloning a service. Even the source of the clone ends up being decrypted. I believe this is because the various get operations in the JpaStorage result in a decrypt operation and then a jpa commit follows that. The result is that the jpa entity is changed and then written to the DB. All get operations should be proceeded by a rollback instead of a commit (I think).

            ewittman@redhat.com Eric Wittmann
            ewittman@redhat.com Eric Wittmann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: