Class PingOneApiAccessManagementFilterHeaplet

java.lang.Object
org.forgerock.openig.heap.GenericHeaplet
org.forgerock.openig.ping.PingOneApiAccessManagementFilterHeaplet
All Implemented Interfaces:
Heaplet

public class PingOneApiAccessManagementFilterHeaplet extends GenericHeaplet
This filter permits to evaluate the HTTP request and response against Ping One API Access Management (P1 AAM).

P1 AAM may decide to:

  • Block the incoming request and return a specific HTTP response (HTTP 403 with reason, for example)
  • Permit the incoming request, but update some of its attributes, such as its method, URL, headers and body.
  • Analyze the incoming response and update some of its attributes, such as its status, headers and body.

Limitation: This Filter does not permit to send client certificate, nor a pre-validated access token yet.

Usage:

 
 {
   "type": "PingOneApiAccessManagementFilter",
   "config": {
     "gatewayServiceURL"         : URL,             [REQUIRED - The Gateway service URL, can be found on PingOne under
                                                                'Authorization' > 'API Gateways' > 'Service URL']
     "secretsProvider"           : SecretsProvider, [REQUIRED - Contains the PingOne API Gateway credential]
     "gatewayCredentialSecretId" : boolean,         [REQUIRED - The secret ID pointing to the API Gateway credential
                                                                in the Secret Provider]
     "includeBody"               : boolean,         [OPTIONAL - Whether to include the request and response body to
                                                                Ping requests. Default to 'true']
     "sidebandHandler"           : Handler,         [OPTIONAL - The ClientHandler to use to contact PingOne API.
                                                                default to the Forgerock HttpClient]
  }
 }

 
Note: Including the body to every Ping Request will have impacts on HTTP exchange latency.
  • Constructor Details

    • PingOneApiAccessManagementFilterHeaplet

      public PingOneApiAccessManagementFilterHeaplet()
  • Method Details