{throw new PermissionDeniedException("Request cannot be null");}
if(LOG.isDebugEnabled())
{
final ByteArrayOutputStream out = new ByteArrayOutputStream();
request.encode(out, new Indenter(4));
LOG.debug("Processing request:");
LOG.debug(out.toString());
}
final ResponseCtx response = pdp.evaluate(request);
if(LOG.isDebugEnabled())
{
final ByteArrayOutputStream out = new ByteArrayOutputStream();
response.encode(out, new Indenter(4));
LOG.debug("PDP response to request:");
LOG.debug(out.toString());
}
handleResponse(response);
}