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, located at
                                                                  '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]
     "includeBodyContentTypes"   : [ String ]                [OPTIONAL - When these content types are present, send
                                                                  the body to the sideband API.
                                                                  Defaults to never send the body ]
     "sidebandHandler"           : Handler,                  [OPTIONAL - The ClientHandler to use to contact PingOne
                                                                  API. default to the Forgerock HttpClient]
     "accessToken"               : RuntimeExpression<String> [OPTIONAL - The location to find the access token to send
                                                                  to Ping API Access Management]
  }
 }

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

  • Constructor Details

    • PingOneApiAccessManagementFilterHeaplet

      public PingOneApiAccessManagementFilterHeaplet()
  • Method Details