This is an old revision of the document!
For setting up a custom authentication service for API's (on service package) the following is needed:
| Rule type | Description |
|---|---|
| Authentication service rule (type custom) | Umbrella for the authentication |
| Timeout activity | Activity that optionally contains logic that will be run on timeout |
| Authentication Activity | Activity with purpose of authenticating the requestor. |
The purpose of the activity is to do the actual authentication. Successfull authentication is indicated by a couple of parameters:
tools.putParamValue("pyOperPage", myStepPage);
tools.putParamValue("pyUserIdentifier", myStepPage.getString("pyUserIdentifier"));
(Support.Pega.Com) question on how to configure a authentication activity.