Class TestAttributeProvider
- java.lang.Object
-
- org.ow2.authzforce.core.pdp.api.BaseNamedAttributeProvider
-
- org.ow2.authzforce.core.pdp.testutil.ext.TestAttributeProvider
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.ow2.authzforce.core.pdp.api.AttributeProvider
,org.ow2.authzforce.core.pdp.api.CloseableNamedAttributeProvider
,org.ow2.authzforce.core.pdp.api.NamedAttributeProvider
public class TestAttributeProvider extends org.ow2.authzforce.core.pdp.api.BaseNamedAttributeProvider
Fake AttributeProviderModule for test purposes only that can be configured to support a specific set of attribute Providers, but always return an empty bag as attribute value.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestAttributeProvider.Factory
TestAttributeProvider
factory-
Nested classes/interfaces inherited from interface org.ow2.authzforce.core.pdp.api.CloseableNamedAttributeProvider
org.ow2.authzforce.core.pdp.api.CloseableNamedAttributeProvider.DependencyAwareFactory, org.ow2.authzforce.core.pdp.api.CloseableNamedAttributeProvider.FactoryBuilder<CONF_T extends org.ow2.authzforce.xmlns.pdp.ext.AbstractAttributeProvider>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
<AV extends org.ow2.authzforce.core.pdp.api.value.AttributeValue>
org.ow2.authzforce.core.pdp.api.value.AttributeBag<AV>get(org.ow2.authzforce.core.pdp.api.AttributeFqn attributeGUID, org.ow2.authzforce.core.pdp.api.value.Datatype<AV> attributeDatatype, org.ow2.authzforce.core.pdp.api.EvaluationContext context)
Set<oasis.names.tc.xacml._3_0.core.schema.wd_17.AttributeDesignatorType>
getProvidedAttributes()
-
-
-
Method Detail
-
close
public void close()
-
getProvidedAttributes
public Set<oasis.names.tc.xacml._3_0.core.schema.wd_17.AttributeDesignatorType> getProvidedAttributes()
-
get
public <AV extends org.ow2.authzforce.core.pdp.api.value.AttributeValue> org.ow2.authzforce.core.pdp.api.value.AttributeBag<AV> get(org.ow2.authzforce.core.pdp.api.AttributeFqn attributeGUID, org.ow2.authzforce.core.pdp.api.value.Datatype<AV> attributeDatatype, org.ow2.authzforce.core.pdp.api.EvaluationContext context) throws org.ow2.authzforce.core.pdp.api.IndeterminateEvaluationException
- Throws:
org.ow2.authzforce.core.pdp.api.IndeterminateEvaluationException
-
-