public interface ResourceDelegationFilter extends Comparable<ResourceDelegationFilter>
Implementations of this interface can use the Guice setter based injection.
Modifier and Type | Method and Description |
---|---|
void |
afterResourceShared(UmaPolicy umaPolicy)
Invoked after a resource "share" is created.
|
QueryFilter<JsonPointer> |
beforeQueryResourceSets(String userId,
QueryFilter<JsonPointer> queryFilter)
Invoked before a users, owned and shared with, resource sets a queried.
|
void |
beforeResourceShared(UmaPolicy umaPolicy)
Invoked before a resource "share" is created.
|
void |
beforeResourceSharedModification(UmaPolicy currentUmaPolicy,
UmaPolicy updatedUmaPolicy)
Invoked before a resource "share" is modified.
|
void |
onResourceSharedDeletion(UmaPolicy umaPolicy)
Invoked before a resource "share" is deleted.
|
compareTo
void beforeResourceShared(UmaPolicy umaPolicy) throws ResourceException
Changes to the umaPolicy will be persisted.
umaPolicy
- The UMA policy representation.ResourceException
- If the resource "share" is not to be shared.void afterResourceShared(UmaPolicy umaPolicy)
Changes to the umaPolicy will not be persisted.
umaPolicy
- The UMA policy representation.void beforeResourceSharedModification(UmaPolicy currentUmaPolicy, UmaPolicy updatedUmaPolicy) throws ResourceException
Changes to the updatedUmaPolicy will be persisted.
currentUmaPolicy
- The current UMA policy representation.updatedUmaPolicy
- The updated UMA policy representation.ResourceException
- If the resource "share" is not to be modified.void onResourceSharedDeletion(UmaPolicy umaPolicy) throws ResourceException
umaPolicy
- The UMA policy representation.ResourceException
- If the resource "share" is not to be deleted.QueryFilter<JsonPointer> beforeQueryResourceSets(String userId, QueryFilter<JsonPointer> queryFilter)
userId
- The id of the user making the query request.queryFilter
- The incoming request query filter.QueryFilter
which will be used to return a users resource sets.Copyright © 2010-2018, ForgeRock All Rights Reserved.