Worklight JavaScript PIP

An appliance with Advanced Access Control can provide a JavaScript policy information point (PIP) for the Worklight product.

The Worklight JavaScript PIP is a prepopulated PIP that completes the following tasks:

To support context-based authorization for Worklight adapters, we must create a custom PIP to URL-decode and tokenize form POST data.

Worklight uses the following HTTP POST format: x-www-form-urlencoded

For example: adapter=BankingApprovals&procedure=doTransfer&parameters=%5B%22200%22%2C%22sav%22%2C%22chq%22%5D represents the following JSON data: ["200","sav","chq"] ["200","sav","chq"] starts when $200.00 is transferred from a savings account to a checking account. In this example:

We can complete the following tasks for these PIPs using the local management interface:

The sample Worklight JavaScript PIP and associated attributes on the appliance provide built-in support for the IBM Security Verify Access for Worklight integration sample application. See IBM Security Verify Access for IBM Worklight for more information

See Manage policy information points and JavaScript properties.

Parent topic: JavaScript PIP