eu.semiramis.policyManager.pdp.an
Class AnPDPFactory
java.lang.Object
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
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 |
AN_POLICY_DIR_PROPERTY
public static final java.lang.String AN_POLICY_DIR_PROPERTY
- See Also:
- Constant Field Values
AnPDPFactory
public AnPDPFactory()
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 objectrequest
- the RequestType
to be served
- Returns:
- the
PDP
to evaluate th request
- Throws:
ConfigurationException
- if an exception occurs in getting the PDP