Package org.ow2.authzforce.core.pdp.api
Interface CloseablePdpEngine
-
- All Superinterfaces:
AutoCloseable
,Closeable
,PdpEngine
public interface CloseablePdpEngine extends PdpEngine, Closeable
XACML PDP that implementsCloseable
because it may depend on various components that hold resources such as network resources and caches to get: the root policy or policies referenced by the root policy; or to get attributes used in the policies from remote sources when not provided in the Request; or to get cached decisions for requests already evaluated in the past, etc. Therefore, you are required to callCloseable.close()
when you no longer need an instance - especially before replacing with a new instance - in order to make sure these resources are released properly by each underlying module (e.g. invalidate the attribute caches and/or network resources).
-
-
Method Summary
-
Methods inherited from interface org.ow2.authzforce.core.pdp.api.PdpEngine
evaluate, evaluate, getApplicablePolicies, newRequestBuilder
-
-