org.fcrepo.server.security.xacml.pdp
Class MelcoePDPImpl
java.lang.Object
org.fcrepo.server.security.xacml.pdp.MelcoePDPImpl
- All Implemented Interfaces:
- MelcoePDP
public class MelcoePDPImpl
- extends Object
- implements MelcoePDP
This is an implementation of the MelcoePDP interface. It provides for the
evaluation of requests. It uses
- Author:
- nishen@melcoe.mq.edu.au
| Fields inherited from interface org.fcrepo.server.security.xacml.pdp.MelcoePDP |
PDP_HOME |
|
Constructor Summary |
MelcoePDPImpl(com.sun.xacml.PDPConfig pdpConfig)
|
|
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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MelcoePDPImpl
public MelcoePDPImpl(com.sun.xacml.PDPConfig pdpConfig)
throws MelcoePDPException
- Throws:
MelcoePDPException
evaluate
public String evaluate(String request)
throws EvaluationException
- Description copied from interface:
MelcoePDP
- This method evaluates an XACML request and returns an XACML response.
- Specified by:
evaluate in interface MelcoePDP
- Parameters:
request - the XACML request
- Returns:
- the XACML response
- Throws:
EvaluationException
evaluateBatch
public String evaluateBatch(String[] requests)
throws EvaluationException
- Description copied from interface:
MelcoePDP
- 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.
- Specified by:
evaluateBatch in interface MelcoePDP
- Parameters:
requests - the String array of XACML requests
- Returns:
- the XACML response
- Throws:
EvaluationException
Copyright © 2012 DuraSpace. All Rights Reserved.