@Override public final void newPdp() { PDP pdp = new PDP(m_pdpConfig); synchronized (this) { this.m_pdp = pdp; //so enforce() will wait, if this pdp update is in progress } }
@Override public final void newPdp() { PDP pdp = new PDP(m_pdpConfig); synchronized (this) { this.m_pdp = pdp; //so enforce() will wait, if this pdp update is in progress } }
public MelcoePDPImpl(PDPConfig pdpConfig) throws MelcoePDPException { m_pdp = new PDP(pdpConfig); m_finder = pdpConfig.getAttributeFinder(); logger.info("PDP Instantiated and initialised!"); }
/** * Default constructor. This creates a <code>SimplePDP</code> with a * <code>PDP</code> based on the configuration defined by the runtime * property com.sun.xcaml.PDPConfigFile. */ public SimplePDP() throws Exception { // load the configuration ConfigurationStore store = new ConfigurationStore(); // use the default factories from the configuration store.useDefaultFactories(); // get the PDP configuration's and setup the PDP pdp = new PDP(store.getDefaultPDPConfig()); }
pdp = new PDP(new PDPConfig(attributeFinder, policyFinder, null));