eu.emi.dsr.pdp.local
Class LocalHerasafPDP

java.lang.Object
  extended by 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

Constructor Summary
LocalHerasafPDP(String configurationFile)
           
 
Method Summary
 PDPResult checkAuthorisation(Client c, String action, ResourceDescriptor d)
           
 void updateConfiguration(List<org.herasaf.xacml.core.policy.Evaluatable> policies, String algorithm)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalHerasafPDP

public LocalHerasafPDP(String configurationFile)
                throws IOException,
                       org.herasaf.xacml.core.SyntaxException,
                       JAXBException,
                       SAXException
Throws:
IOException
org.herasaf.xacml.core.SyntaxException
JAXBException
SAXException
Method Detail

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.