org.fcrepo.server.security.xacml.pdp
Interface MelcoePDP

All Known Implementing Classes:
MelcoePDPImpl

public interface MelcoePDP

The interface for the MelcoePDP. The PDP simply evaluates requests and returns responses.

Author:
nishen@melcoe.mq.edu.au

Field Summary
static File PDP_HOME
           
 
Method Summary
 String evaluate(String request)
          This method evaluates an XACML request and returns an XACML response.
 String evaluateBatch(String[] requests)
          A convenience function designed for reducing the number of WS calls made.
 

Field Detail

PDP_HOME

static final File PDP_HOME
Method Detail

evaluate

String evaluate(String request)
                throws EvaluationException
This method evaluates an XACML request and returns an XACML response.

Parameters:
request - the XACML request
Returns:
the XACML response
Throws:
EvaluationException

evaluateBatch

String evaluateBatch(String[] requests)
                     throws EvaluationException
A convenience function designed for reducing the number of WS calls made. This function takes an array of requests and evaluates them and returns a single response that contains all the resource id's and results.

Parameters:
requests - the String array of XACML requests
Returns:
the XACML response
Throws:
EvaluationException


Copyright © 2012 DuraSpace. All Rights Reserved.