eu.emi.dsr.pdp.local
Class LocalHerasafPDP
java.lang.Object
eu.emi.dsr.pdp.local.LocalHerasafPDP
- All Implemented Interfaces:
- PolicyListener, RegistryPDP
public class LocalHerasafPDP
- extends Object
- implements RegistryPDP, PolicyListener
HerasAF based implementation of a local XACML PDP.
TODO Write custom PDP replacing SimplePDP.
TODO Write custom PolicyStore.
TODO Use PIP.
- Author:
- golbi, a.memon
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalHerasafPDP
public LocalHerasafPDP(String configurationFile)
throws IOException,
org.herasaf.xacml.core.SyntaxException,
JAXBException,
SAXException
- Throws:
IOException
org.herasaf.xacml.core.SyntaxException
JAXBException
SAXException
updateConfiguration
public void updateConfiguration(List<org.herasaf.xacml.core.policy.Evaluatable> policies,
String algorithm)
- Specified by:
updateConfiguration in interface PolicyListener
checkAuthorisation
public PDPResult checkAuthorisation(Client c,
String action,
ResourceDescriptor d)
throws Exception
- Specified by:
checkAuthorisation in interface RegistryPDP
- Throws:
Exception
Copyright © 2012. All Rights Reserved.