eu.semiramis.policyManager.pdp.jboss
Class JBossPDP

java.lang.Object
  extended by eu.semiramis.policyManager.pdp.impl.AbstractPDP
      extended by eu.semiramis.policyManager.pdp.jboss.JBossPDP
All Implemented Interfaces:
PDP

public class JBossPDP
extends AbstractPDP

This concrete implementation of the PDP uses a JBoss XACML engine to evaluate access control requests against the current XACML policies

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.
 
Methods inherited from class eu.semiramis.policyManager.pdp.impl.AbstractPDP
getName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

evaluate

public org.opensaml.xacml.ctx.ResponseType evaluate(org.opensaml.xacml.ctx.RequestType request)
                                             throws EvaluationException
Description copied from interface: PDP
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

public void destroy()
Description copied from interface: PDP
Tells the PDP that no more evaluations will be asked and the resources associated with the PDP can be released.