Introducing the all-new TIBCO Community site!

For current users, please click "Sign In" to reset your password and access the enhanced features. If you're a first-time visitor, we extend a warm welcome—click "Sign Up" to become a part of the TIBCO Community!

If you're seeking alternative community sites, explore ibi, Jaspersoft, and Spotfire.

Jump to content
  • How To Generate an X-Signature within TIBCO Cloud? Integration


    Manoj Chaurasia

    Here's a quick REST service to push to TIBCO Cloud Integration as an Integration App, which generates an X-Signature (SHA256 hash in hex format) taking in input an API key, a secret, and adding current timestamps in seconds.

    This kind of "X-Signature" key could be useful in several scenarios: you can insert whatever keys in the two inputs. In this use case, we're using a TIBCO Mashery® API and a Mashery Secret API.

    It's a really simple Java class that leverages the DigestUtils.sha256Hex from Apache Commons Codec http://commons.apache.org/proper/commons-codec/

    The same REST service uses Node JS, so now you can choose between the Integration App and the Node.js App.

    The attached zip file named x-sig.zip is for the Integration App, the zip file called sha256_nodejs_app_1498560851377.zip is for the Node.js App.

    Included in the Resources below:

    - the manifest.json file needed when deploying the Node.js App from tibcli (manifest.zip file)

    - the API spec in JSON format (SHA256.zip file)

    x-sig.zip

    sha256_nodejs_app_1498560851377.zip

    manifest.zip

    sha256.zip


    User Feedback

    Recommended Comments

    There are no comments to display.


×
×
  • Create New...