public interface CloseableNamedAttributeProvider extends NamedAttributeProvider, Closeable
NamedAttributeProvider
that extends Closeable
because it may may use resources external to the JVM such as a cache, a disk, a connection to a remote server, etc. for retrieving the
attribute values. Therefore, these resources must be released by calling Closeable.close()
when it is no longer needed.
PDP extensions of this type (to support new ways of providing attributes) must implement the CloseableNamedAttributeProvider.FactoryBuilder
class.
Modifier and Type | Interface and Description |
---|---|
static interface |
CloseableNamedAttributeProvider.DependencyAwareFactory
Intermediate dependency-aware
CloseableNamedAttributeProvider factory that can create instances of Attribute Providers from a XML/JAXB configuration, and also provides the dependencies
(required attributes) (based on this configuration), that any such instance (created by it) will need. |
static class |
CloseableNamedAttributeProvider.FactoryBuilder<CONF_T extends org.ow2.authzforce.xmlns.pdp.ext.AbstractAttributeProvider>
Builder that creates a dependency-aware AttributeProvider factory from parsing the attribute dependencies (attributes on which the Providers created by this factory will depend on to find their
own supported attributes) declared in the XML configuration (possibly dynamic).
|
getProvidedAttributes
get
Copyright © 2012–2020. All rights reserved.