public abstract class AbstractPIPResourceFinder extends Object implements PIPResourceFinder
Constructor and Description |
---|
AbstractPIPResourceFinder() |
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
|
abstract Set<String> |
findDescendantResources(String parentResourceId,
String environmentId)
This is the overloaded simplify version of the findDescendantResources() method.
|
boolean |
overrideDefaultCache()
This is to inform whether to ignore caching of descendant and child resources in carbon level
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getModuleName, init
public abstract Set<String> findDescendantResources(String parentResourceId, String environmentId) throws Exception
AbstractPIPResourceFinder
can implement this method and get use of the default
implementation of the findDescendantResources() method which has been implemented within
AbstractPIPResourceFinder
classparentResourceId
- parent resource valueenvironmentId
- environment nameSet
of String
s that represent the descendant resourcesException
- throws if any failure is occurredpublic Set<String> findDescendantResources(String parentResourceId, org.wso2.balana.ctx.EvaluationCtx context) throws Exception
PIPResourceFinder
findDescendantResources
in interface PIPResourceFinder
parentResourceId
- parent resource valuecontext
- EvaluationCtx which encapsulates the XACML request.Set
of String
s that represent the descendant resourcesException
- throws if any failure is occurredpublic boolean overrideDefaultCache()
PIPResourceFinder
overrideDefaultCache
in interface PIPResourceFinder
public void clearCache()
PIPResourceFinder
clearCache
in interface PIPResourceFinder
public Set<String> findChildResources(String parentResourceId, org.wso2.balana.ctx.EvaluationCtx context) throws Exception
PIPResourceFinder
findChildResources
in interface PIPResourceFinder
parentResourceId
- parent resource valuecontext
- EvaluationCtx which encapsulates the XACML request.Set
of String
s that represent the child resourcesException
- throws if any failure is occurredCopyright © 2016 WSO2. All rights reserved.