com.ietnet.fse.igestore.pep

## Class PDPClient

- java.lang.Object
- - com.ietnet.fse.common.pep.AbstractPDPClient
  - - com.ietnet.fse.igestore.pep.PDPClient

-     public class PDPClient
      extends com.ietnet.fse.common.pep.AbstractPDPClient

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PDPClient(java.lang.String trasactionId)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.sun.xacml.ctx.ResponseCtx` | `evaluateCtx(com.sun.xacml.ctx.RequestCtx reqCtx, java.util.Properties properties)`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PDPClient

          public PDPClient(java.lang.String trasactionId)

  - ### Method Detail

    - #### evaluateCtx

          public com.sun.xacml.ctx.ResponseCtx evaluateCtx(com.sun.xacml.ctx.RequestCtx reqCtx,
                                                  java.util.Properties properties)
                                                    throws java.lang.Exception

      Specified by:
        `evaluateCtx` in class `com.ietnet.fse.common.pep.AbstractPDPClient`
      Parameters:
        `reqCtx` - the request context to evaluate
        `properties` - the properties to find the PDP call configuration. This properties must contains one entry for the PDPService URL, the socket timeout and the secure connection entries such as the keystore type, the keystore file, the keystore file password to establish the secure connection, the truststore type, the truststore file to establish the secure connection, the truststore file password to establish the secure connection
      Returns:
        the response context
      Throws:
        `java.lang.Exception` - if any error occurs