public interface PIPResourceFinder
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
Clears the entire cache.
|
Set<String> |
findChildResources(String parentResourceId,
org.wso2.balana.ctx.EvaluationCtx context)
Will be fired by CarbonResourceFinder whenever it wants to find a child resources
|
Set<String> |
findDescendantResources(String parentResourceId,
org.wso2.balana.ctx.EvaluationCtx context)
Will be fired by CarbonResourceFinder whenever it wants to find a descendant resources
|
String |
getModuleName()
gets name of this module
|
void |
init(Properties properties)
initializes the Resource finder module
|
boolean |
overrideDefaultCache()
This is to inform whether to ignore caching of descendant and child resources in carbon level
|
void init(Properties properties) throws Exception
properties
- properties, that need to initialize the module. These properties can be
defined in pip-config.xml fileException
- throws when initialization is failedString getModuleName()
Set<String> findChildResources(String parentResourceId, org.wso2.balana.ctx.EvaluationCtx context) throws Exception
parentResourceId
- parent resource valuecontext
- EvaluationCtx which encapsulates the XACML request.Set
of String
s that represent the child resourcesException
- throws if any failure is occurredSet<String> findDescendantResources(String parentResourceId, org.wso2.balana.ctx.EvaluationCtx context) throws Exception
parentResourceId
- parent resource valuecontext
- EvaluationCtx which encapsulates the XACML request.Set
of String
s that represent the descendant resourcesException
- throws if any failure is occurredboolean overrideDefaultCache()
void clearCache()
Copyright © 2016 WSO2. All rights reserved.