Class FapiAuthorizeFilterChainHeaplet

java.lang.Object
org.forgerock.openig.heap.GenericHeaplet
org.forgerock.openig.fapi.FapiGenericHeaplet
org.forgerock.openig.fapi.authorization.authorize.FapiAuthorizeFilterChainHeaplet
All Implemented Interfaces:
Heaplet

public final class FapiAuthorizeFilterChainHeaplet extends FapiGenericHeaplet
Filter chain to validate authorize requests and make sure they comply with the following FAPI specifications:

This filter is intended to front filter(s) rejecting requests that would result in an OAuth2 client being created that does not conform to the FAPI spec.

 {
    "type": "FapiAuthorizeFilterChain"
    "config": {
      "forwardedHost" : String                [REQUIRED - The forwarded host added to the endpoint request. ]
      "auditService"  : AuditService          [OPTIONAL - Reference to a {@link AuditService}.]
      "apiClientService"  : ApiClientService  [REQUIRED - Reference to a {@link ApiClientService}.]
    }
  }
 
 
 
 {
    "name": "fapiAuthorizeFilterChain",
    "type": "FapiAuthorizeFilterChain",
    "config": {
      "forwardedHost" : "&{as.fqdn}",
      "auditService" : "auditService",
      "apiClientService" : "apiClientService"
    }
 }