eu.semiramis.policyManager.pdp
Interface PDPFactory

All Known Implementing Classes:
AnPDPFactory, JBossPDPFactory

public interface PDPFactory

Interface for PDP objects creators.

The actual class of the factory can be configured using the property name PDP_FACTORY_CLASS_PROPERTY.

Author:
Paolo Roccetti

Field Summary
static java.lang.String PDP_FACTORY_CLASS_PROPERTY
           
 
Method Summary
 PDP getPDP(java.lang.String pdpName, ContextHandler handler, java.util.Properties configurationProperties, org.opensaml.xacml.ctx.RequestType request)
          Creates a new PDP basing on the custom configuration object provided, and the current request to be served.
 

Field Detail

PDP_FACTORY_CLASS_PROPERTY

static final java.lang.String PDP_FACTORY_CLASS_PROPERTY
See Also:
Constant Field Values
Method Detail

getPDP

PDP getPDP(java.lang.String pdpName,
           ContextHandler handler,
           java.util.Properties configurationProperties,
           org.opensaml.xacml.ctx.RequestType request)
           throws ConfigurationException
Creates a new PDP basing on the custom configuration object provided, and the current request to be served.

Parameters:
configurationProperties - the custom configuration object
request - the RequestType to be served
Returns:
the PDP to evaluate th request
Throws:
ConfigurationException - if an exception occurs in getting the PDP