eu.semiramis.policyManager.pdp
Interface PDP

All Known Implementing Classes:
AbstractPDP, AnPDP, JBossPDP

public interface PDP

Policy Decision Point (PDP) interface to evaluate XACML requests and get corresponding XACML responses.

This interface is by the ContextHandler to evaluate XACML requests sent by Policy Enforcement Points.

Author:
Paolo Roccetti

Method Summary
 void destroy()
          Tells the PDP that no more evaluations will be asked and the resources associated with the PDP can be released.
 org.opensaml.xacml.ctx.ResponseType evaluate(org.opensaml.xacml.ctx.RequestType request)
          This method evaluates a XACML request against the set of policies defined for the PDP.
 java.lang.String getName()
           
 

Method Detail

getName

java.lang.String getName()

evaluate

org.opensaml.xacml.ctx.ResponseType evaluate(org.opensaml.xacml.ctx.RequestType request)
                                             throws EvaluationException
This method evaluates a XACML request against the set of policies defined for the PDP.

Parameters:
request - the XACML request to evaluate
Returns:
the XACML response
Throws:
EvaluationException - when the evaluation of the request fails for some reasons

destroy

void destroy()
Tells the PDP that no more evaluations will be asked and the resources associated with the PDP can be released.