{
return XACMLUtil.errorResult("Error while finding policy: " + ee.getMessage(), ee);
}
finally
{
pool.release(broker);
}
}
private PolicyFinderResult findPolicy(DBBroker broker, EvaluationCtx context) throws PermissionDeniedException
{
final DocumentSet mainPolicyDocs = XACMLUtil.getPolicyDocuments(broker, false);