CONF_T
- type of configuration (XML-schema-derived) of the module (initialization parameter)public abstract static class CloseablePolicyProvider.Factory<CONF_T extends org.ow2.authzforce.xmlns.pdp.ext.AbstractPolicyProvider> extends JaxbBoundPdpExtension<CONF_T>
AUTHZFORCE_EXTENSION_PREFIX
Constructor and Description |
---|
Factory() |
Modifier and Type | Method and Description |
---|---|
abstract CloseablePolicyProvider<?> |
getInstance(CONF_T conf,
XmlUtils.XmlnsFilteringParserFactory xacmlParserFactory,
int maxPolicySetRefDepth,
ExpressionFactory expressionFactory,
CombiningAlgRegistry combiningAlgRegistry,
EnvironmentProperties environmentProperties,
Optional<PolicyProvider<?>> otherHelpingPolicyProvider)
Create PolicyProvider instance
|
getId, getJaxbClass
public abstract CloseablePolicyProvider<?> getInstance(CONF_T conf, XmlUtils.XmlnsFilteringParserFactory xacmlParserFactory, int maxPolicySetRefDepth, ExpressionFactory expressionFactory, CombiningAlgRegistry combiningAlgRegistry, EnvironmentProperties environmentProperties, Optional<PolicyProvider<?>> otherHelpingPolicyProvider) throws IllegalArgumentException
conf
- configurationxacmlParserFactory
- XACML parser factory for parsing any XACML Policy(Set)maxPolicySetRefDepth
- maximum allowed depth of PolicySet reference chain (via PolicySetIdReference): PolicySet1 -> PolicySet2 -> ...; to be enforced by any instance created by this factory. A strictly
negative value means no limitexpressionFactory
- Expression factory for parsing XACML Expressions in the policiescombiningAlgRegistry
- Combining algorithm registry for getting implementations of algorithms used in the policiesenvironmentProperties
- global PDP configuration environment propertiesotherHelpingPolicyProvider
- other optional policy provider that helps the new instance resolve policy references that it cannot resolve on its own. It is meant to be a combination of the policy providers
instantiated previously, if there was any.IllegalArgumentException
- if conf
required but nullCopyright © 2012–2020. All rights reserved.