## 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 | Description
    --- | --- | ---
    `static void` | OPAUtils.`handlePolicyFailure​(org.apache.synapse.MessageContext messageContext, OPASecurityException e, String faultHandler)` | Handle the policy failure.

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

    Constructors in org.apache.synapse.mediators.opa that throw OPASecurityException
    Constructor | Description
    --- | ---
    `OPAClient​(String url, Map<String,​String> additionalParameters)` |