## Uses of Class
org.apache.synapse.mediators.opa.OPASecurityException

- Packages that use OPASecurityException
  Package | Description
  --- | ---
  org.apache.synapse.mediators.opa |

- - ### Uses of OPASecurityException in org.apache.synapse.mediators.opa

    Methods in org.apache.synapse.mediators.opa with parameters of type OPASecurityException
    Modifier and Type | Method and Description
    --- | ---
    `static void` | OPAUtils.`handlePolicyFailure(org.apache.synapse.MessageContext messageContext, OPASecurityException e, java.lang.String faultHandler)` Handle the policy failure.

    Methods in org.apache.synapse.mediators.opa that throw OPASecurityException
    Modifier and Type | Method and Description
    --- | ---
    `org.apache.http.impl.client.CloseableHttpClient` | OPAClient.`createHttpClient(java.lang.String url)` Return a CloseableHttpClient instance
    `java.lang.String` | OPASynapseRequestGenerator.`generateRequest(java.lang.String policyName, java.lang.String rule, java.util.Map<java.lang.String,java.lang.String> additionalParameters, org.apache.synapse.MessageContext messageContext)`
    `java.lang.String` | OPARequestGenerator.`generateRequest(java.lang.String policyName, java.lang.String rule, java.util.Map<java.lang.String,java.lang.String> additionalParameters, org.apache.synapse.MessageContext messageContext)` Generate the OPA request payload from the provided message context and the additional Properties Map
    `boolean` | OPASynapseRequestGenerator.`handleResponse(java.lang.String policyName, java.lang.String rule, java.lang.String opaResponse, java.util.Map<java.lang.String,java.lang.String> additionalParameters, org.apache.synapse.MessageContext messageContext)`
    `boolean` | OPARequestGenerator.`handleResponse(java.lang.String policyName, java.lang.String rule, java.lang.String opaResponse, java.util.Map<java.lang.String,java.lang.String> additionalParameters, org.apache.synapse.MessageContext messageContext)` Handle the OPA response based on the implementation
    `java.lang.String` | OPAClient.`publish(java.lang.String opaServerUrl, java.lang.String payload, java.lang.String credentials)` Method to publish the OPA payload to the OPA server

    Constructors in org.apache.synapse.mediators.opa that throw OPASecurityException
    Constructor and Description
    `OPAClient(java.lang.String url, java.util.Map<java.lang.String,java.lang.String> additionalParameters)`

Copyright © 2005-2022 Apache Software Foundation. All Rights Reserved.