Unable to Create a Plugin User with Peppol ID

Problem

The Harmony Access Point UI requires that the "Original user" field of a Plugin User starts with "urn:oasis:names:tc:ebcore:partyid-type:". In other words, only ebCore Party Identifiers are supported and Peppol Identifiers are not.

Solution

There's a workaround to the problem that requires shell access with sudo permissions to the Access Point host.

  1. In the Access Point UI, create a new plugin using the "Original user" value "urn:oasis:names:tc:ebcore:partyid-type:unregistered:C1".
  2. Open SSH connection to the Access Point host.
  3. Query a list of current plugin users from the Access Point database:
    sudo mysql -e "use harmony_ap; select * from TB_AUTHENTICATION_ENTRY;"
  4. Check the value of the "PK_ID" column of the new user you just created in step 1.
  5. Update the "ORIGINAL_USER" column using the identifier that you need to use (e.g., "iso6523-actorid-upis:0037:2901883700001"). Remember to replace the "ID_PK" value with the correct ID.
    sudo mysql -e "UPDATE harmony_ap.TB_AUTHENTICATION_ENTRY set ORIGINAL_USER = 'iso6523-actorid-upis:0037:2901883700001' where ID_PK = 4;"
  6. Check from the UI that the "Original user" value is correct in the plugin user's data.