public class OPAUtils
extends java.lang.Object
Constructor and Description |
---|
OPAUtils() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getRequestIp(org.apache.axis2.context.MessageContext axis2MessageContext)
Get the request originated IP from the message content
|
static void |
handlePolicyFailure(org.apache.synapse.MessageContext messageContext,
OPASecurityException e,
java.lang.String faultHandler)
Handle the policy failure.
|
public static java.lang.String getRequestIp(org.apache.axis2.context.MessageContext axis2MessageContext)
axis2MessageContext
- Axis2 message contextpublic static void handlePolicyFailure(org.apache.synapse.MessageContext messageContext, OPASecurityException e, java.lang.String faultHandler)
messageContext
- Message contexte
- OPASecurityExceptionCopyright © 2005-2022 Apache Software Foundation. All Rights Reserved.