Interface ResourceDelegationFilter
- All Superinterfaces:
Comparable<ResourceDelegationFilter>
@SupportedAll
public interface ResourceDelegationFilter
extends Comparable<ResourceDelegationFilter>
Extension filter that will be called before a resource is shared, after a
resource is shared, before a shared resource is modified and on a resource
no longer being shared.
Implementations of this interface can use the Guice setter based injection.
- Since:
- 13.0.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidafterResourceShared(org.forgerock.openam.uma.UmaPolicy umaPolicy) Invoked after a resource "share" is created.beforeQueryResourceSets(String userId, QueryFilter<JsonPointer> queryFilter) Invoked before a users, owned and shared with, resource sets a queried.voidbeforeResourceShared(org.forgerock.openam.uma.UmaPolicy umaPolicy) Invoked before a resource "share" is created.voidbeforeResourceSharedModification(org.forgerock.openam.uma.UmaPolicy currentUmaPolicy, org.forgerock.openam.uma.UmaPolicy updatedUmaPolicy) Invoked before a resource "share" is modified.voidonResourceSharedDeletion(org.forgerock.openam.uma.UmaPolicy umaPolicy) Invoked before a resource "share" is deleted.Methods inherited from interface java.lang.Comparable
compareTo
-
Method Details
-
beforeQueryResourceSets
QueryFilter<JsonPointer> beforeQueryResourceSets(String userId, QueryFilter<JsonPointer> queryFilter) Invoked before a users, owned and shared with, resource sets a queried.- Parameters:
userId- The id of the user making the query request.queryFilter- The incoming request query filter.- Returns:
- A
QueryFilterwhich will be used to return a users resource sets.