@Test public void testEvaluateRequest() throws AuditException { XacmlRequest xacmlRequest = new XacmlRequest(); pdp.deployPolicies(simplePDP, policies, xacmlRequest, false); assertEquals( "PERMIT", pdp.evaluateRequest(simplePDP, request, new LinkedList<Evaluatable>(), xacmlRequest).getPdpDecision()); pdp.undeployPolicy(simplePDP, policy); pdp.deployPolicies(simplePDP, policies_invalid, xacmlRequest, false); assertEquals( "DENY", pdp.evaluateRequest(simplePDP, request, new LinkedList<Evaluatable>(), xacmlRequest).getPdpDecision()); }
@Override @Deprecated public XacmlResponse evaluateRequest(PDP pdp, RequestType request, List<Evaluatable> policies, XacmlRequest xacmlRequest) throws AuditException { logger.info("evaluateRequest invoked"); return managePoliciesAndEvaluateRequest(pdp, request, policies, xacmlRequest); }
PolicyDecisionPointImpl implements PolicyDecisionPoint { @Override @Deprecated public XacmlResponse evaluateRequest(PDP pdp, RequestType request, List<Evaluatable> policies, XacmlRequest xacmlRequest) throws AuditException { logger.info("evaluateRequest invoked"); return managePoliciesAndEvaluateRequest(pdp, request, policies, xacmlRequest); } }
PolicyDecisionPointImpl implements PolicyDecisionPoint { @Override @Deprecated public XacmlResponse evaluateRequest(PDP pdp, RequestType request, List<Evaluatable> policies, XacmlRequest xacmlRequest) throws AuditException { logger.info("evaluateRequest invoked"); return managePoliciesAndEvaluateRequest(pdp, request, policies, xacmlRequest); } PolicyDecisionPointImpl(PolicyProvider policyProvider,
			RequestGenerator requestGenerator,
			DocumentAccessor documentAccessor,
			DocumentXmlConverter documentXmlConverter, AuditService auditService);  PolicyDecisionPointImpl(RequestGenerator requestGenerator,
			DocumentAccessor documentAccessor,
			DocumentXmlConverter documentXmlConverter); }
PolicyDecisionPointImpl implements PolicyDecisionPoint { @Override @Deprecated public XacmlResponse evaluateRequest(PDP pdp, RequestType request, List<Evaluatable> policies, XacmlRequest xacmlRequest) throws AuditException { logger.info("evaluateRequest invoked"); return managePoliciesAndEvaluateRequest(pdp, request, policies, xacmlRequest); } PolicyDecisionPointImpl(PolicyProvider policyProvider,
			RequestGenerator requestGenerator,
			DocumentAccessor documentAccessor,
			DocumentXmlConverter documentXmlConverter, AuditService auditService);  PolicyDecisionPointImpl(RequestGenerator requestGenerator,
			DocumentAccessor documentAccessor,
			DocumentXmlConverter documentXmlConverter); @Override synchronized PdpRequestResponse evaluatePolicyForTrying(
			String xacmlPolicy, String purposeOfUse); @Override @Deprecated XacmlResponse evaluateRequest(PDP pdp, RequestType request,
			List<Evaluatable> policies, XacmlRequest xacmlRequest); @Override @Deprecated XacmlResponse evaluateRequest(PDP pdp, RequestType request,
			XacmlRequest xacmlRequest); @Override @Deprecated XacmlResponse evaluateRequest(RequestType request,
			List<Evaluatable> policies, XacmlRequest xacmlRequest); @Override XacmlResponse evaluateRequest(RequestType request,
			XacmlRequest xacmlRequest); @Override XacmlResponse evaluateRequest(XacmlRequest xacmlRequest); }
PolicyDecisionPointImpl implements PolicyDecisionPoint { @Override @Deprecated public XacmlResponse evaluateRequest(PDP pdp, RequestType request, List<Evaluatable> policies, XacmlRequest xacmlRequest) throws AuditException { logger.info("evaluateRequest invoked"); return managePoliciesAndEvaluateRequest(pdp, request, policies, xacmlRequest); } PolicyDecisionPointImpl(PolicyProvider policyProvider,
			RequestGenerator requestGenerator,
			DocumentAccessor documentAccessor,
			DocumentXmlConverter documentXmlConverter, AuditService auditService);  PolicyDecisionPointImpl(RequestGenerator requestGenerator,
			DocumentAccessor documentAccessor,
			DocumentXmlConverter documentXmlConverter); @Override synchronized PdpRequestResponse evaluatePolicyForTrying(
			String xacmlPolicy, String purposeOfUse); @Override @Deprecated XacmlResponse evaluateRequest(PDP pdp, RequestType request,
			List<Evaluatable> policies, XacmlRequest xacmlRequest); @Override @Deprecated XacmlResponse evaluateRequest(PDP pdp, RequestType request,
			XacmlRequest xacmlRequest); @Override @Deprecated XacmlResponse evaluateRequest(RequestType request,
			List<Evaluatable> policies, XacmlRequest xacmlRequest); @Override XacmlResponse evaluateRequest(RequestType request,
			XacmlRequest xacmlRequest); @Override XacmlResponse evaluateRequest(XacmlRequest xacmlRequest);  }