eu.semiramis.policyManager.pdp.an
Class AnPDPFactory

java.lang.Object
  extended by eu.semiramis.policyManager.pdp.an.AnPDPFactory
All Implemented Interfaces:
PDPFactory

public class AnPDPFactory
extends java.lang.Object
implements PDPFactory

This concrete implementation of the PDPFactory creates a AnPDP that uses an Enterprise Java XACML engine to evaluate access control requests against the current XACML policies.

The "pdp.factory.an.policy.dir" property can be used in the configuration file to set the directory where XACML policies must be loaded from.

Author:
Paolo Roccetti

Field Summary
static java.lang.String AN_POLICY_DIR_PROPERTY
           
 
Fields inherited from interface eu.semiramis.policyManager.pdp.PDPFactory
PDP_FACTORY_CLASS_PROPERTY
 
Constructor Summary
AnPDPFactory()
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AN_POLICY_DIR_PROPERTY

public static final java.lang.String AN_POLICY_DIR_PROPERTY
See Also:
Constant Field Values
Constructor Detail

AnPDPFactory

public AnPDPFactory()
Method Detail

getPDP

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

Specified by:
getPDP in interface PDPFactory
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