eu.semiramis.policyManager.pdp.jboss.locators
Class StaticDirectoryLocatorFactory

java.lang.Object
  extended by eu.semiramis.policyManager.pdp.jboss.locators.StaticDirectoryLocatorFactory
All Implemented Interfaces:
LocatorFactory

public class StaticDirectoryLocatorFactory
extends java.lang.Object
implements LocatorFactory

Concrete implementation of the LocatorFactory that creates StaticDirectoryLocator objects.

Author:
Paolo Roccetti

Field Summary
static java.lang.String JBOSS_POLICYSET_DIR_PROPERTY
           
 
Fields inherited from interface eu.semiramis.policyManager.pdp.jboss.LocatorFactory
JBOSS_LOCATOR_FACTORY_CLASS_PROPERTY
 
Constructor Summary
StaticDirectoryLocatorFactory()
           
 
Method Summary
 org.jboss.security.xacml.interfaces.PolicyLocator getLocator(java.util.Properties properties)
          Gets a PolicyLocator to locate policies for XACML request evaluation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JBOSS_POLICYSET_DIR_PROPERTY

public static final java.lang.String JBOSS_POLICYSET_DIR_PROPERTY
See Also:
Constant Field Values
Constructor Detail

StaticDirectoryLocatorFactory

public StaticDirectoryLocatorFactory()
Method Detail

getLocator

public org.jboss.security.xacml.interfaces.PolicyLocator getLocator(java.util.Properties properties)
                                                             throws ConfigurationException
Description copied from interface: LocatorFactory
Gets a PolicyLocator to locate policies for XACML request evaluation.

Specified by:
getLocator in interface LocatorFactory
Parameters:
properties - the Properties to configure the PolicyLocator
Returns:
the PolicyLocator to use to locate policies
Throws:
ConfigurationException - if the retrieve of the PolicyLocator fails