protected PolicyResponse |
DefaultTrackablePolicyUtils.invalidPolicyResponse(PolicyResponse response,
String reason,
ContextInfo contextInfo) |
|
protected PolicyResponse |
DefaultTrackablePolicyUtils.invalidPolicyResponse(PolicyResponse response,
String reason,
org.apache.commons.lang3.tuple.Pair<String,String>... details) |
|
PolicyResponse |
TrackableEntityPolicyEvaluator.validate(Map<Integer,Object> methodParams,
PolicyInformation policy,
ContextInfo contextInfo,
OperationType operationType) |
|
protected PolicyResponse |
DefaultTrackablePolicyUtils.validateApplicationCatalogUpdate(@NonNull Trackable entity,
@NonNull Application application) |
If a catalog discriminated entity, validate that the current user is capable of updating an
entity via the catalogs visible to the current application.
|
protected PolicyResponse |
DefaultTrackablePolicyUtils.validateApplicationUpdate(@NonNull Trackable entity,
@NonNull Application application) |
If an application discriminated entity, validate that the current user is capable of updating
an entity via the application requested in the context.
|
PolicyResponse |
DefaultTrackablePolicyUtils.validateContext(ContextInfo contextInfo) |
|
PolicyResponse |
DefaultTrackablePolicyUtils.validateContext(ContextInfo contextInfo,
String[] requiredPermissionRoots,
PermissionMatchingStrategy permissionMatchingStrategy,
OperationType operationType) |
|
PolicyResponse |
TrackablePolicyUtils.validateContext(ContextInfo contextInfo) |
Review the ContextInfo parameter for valid tenant user membership and valid catalog
visibility based on the current Authentication and requested tenant information in
the contextInfo.
|
PolicyResponse |
TrackablePolicyUtils.validateContext(ContextInfo contextInfo,
String[] requiredPermissionRoots,
PermissionMatchingStrategy permissionMatchingStrategy,
OperationType operationType) |
Review the ContextInfo parameter for valid tenant user membership and valid catalog
visibility based on the current Authentication and requested tenant information in
the contextInfo.
|
PolicyResponse |
DefaultTrackablePolicyUtils.validateDelete(Trackable entity,
ContextInfo contextInfo,
String[] permissionRoots,
PermissionMatchingStrategy strategy) |
|
PolicyResponse |
TrackablePolicyUtils.validateDelete(Trackable entity,
ContextInfo contextInfo,
String[] permissionRoots,
PermissionMatchingStrategy strategy) |
Validate that before deleting (if the catalog discrimination is in play) that the item's
catalog is both visible to the current application, and mutable.
|
protected PolicyResponse |
DefaultTrackablePolicyUtils.validateEntityOperation(Trackable entity,
ContextInfo contextInfo,
String[] permissionRoots,
PermissionMatchingStrategy strategy,
OperationType operationType) |
|
protected PolicyResponse |
DefaultTrackablePolicyUtils.validateEntityUpdate(Trackable entity,
@NonNull ContextInfo contextInfo) |
Check update validity for a given entity instance
|
protected PolicyResponse |
DefaultTrackablePolicyUtils.validateEntityUpdateForTenantFactors(Trackable entity,
Application application,
String tenantId,
TrackableBehaviorPackage behavior) |
|
protected PolicyResponse |
DefaultTrackablePolicyUtils.validateGlobalMutateToInheritedCatalog(Trackable entity,
ContextInfo contextInfo) |
|
protected PolicyResponse |
DefaultTrackablePolicyUtils.validateGlobalUpdateToHiddenCatalog(Trackable entity) |
|
PolicyResponse |
DefaultTrackablePolicyUtils.validateInsert(Trackable entity,
ContextInfo contextInfo,
String[] permissionRoots,
PermissionMatchingStrategy strategy) |
|
PolicyResponse |
TrackablePolicyUtils.validateInsert(Trackable entity,
ContextInfo contextInfo,
String[] permissionRoots,
PermissionMatchingStrategy strategy) |
Validate that before inserting (if catalog discrimination is in play and the current entity
is catalog discriminatable) that the current catalog target for insertion is mutable.
|
protected PolicyResponse |
DefaultTrackablePolicyUtils.validateOperation(ContextInfo contextInfo,
String[] permissionRoots,
PermissionMatchingStrategy strategy) |
|
protected PolicyResponse |
DefaultTrackablePolicyUtils.validateOperation(ContextInfo contextInfo,
String[] permissionRoots,
PermissionMatchingStrategy strategy,
OperationType operationType) |
|
PolicyResponse |
DefaultTrackablePolicyUtils.validateOther(ContextInfo contextInfo,
String[] permissionRoots,
PermissionMatchingStrategy strategy) |
|
PolicyResponse |
TrackablePolicyUtils.validateOther(ContextInfo contextInfo,
String[] permissionRoots,
PermissionMatchingStrategy strategy) |
Validate that before misc operation, the required permission is available
|
PolicyResponse |
DefaultTrackablePolicyUtils.validateOwner(Object test,
IdentityType[] identityTypes,
String ownerIdentifier) |
|
PolicyResponse |
TrackablePolicyUtils.validateOwner(Object test,
IdentityType[] identityTypes,
String ownerIdentifier) |
Validate the object against the currently logged in user.
|
PolicyResponse |
DefaultTrackablePolicyUtils.validatePermission(ContextInfo contextInfo,
String[] permissionRoots,
PermissionMatchingStrategy strategy) |
|
PolicyResponse |
DefaultTrackablePolicyUtils.validatePermission(String[] permissionRoots,
PermissionMatchingStrategy strategy,
OperationType operationType,
ContextInfo contextInfo) |
|
PolicyResponse |
TrackablePolicyUtils.validatePermission(ContextInfo contextInfo,
String[] permissionRoots,
PermissionMatchingStrategy strategy) |
Validate the permission against the granted authorities of the current
Authentication .
|
PolicyResponse |
TrackablePolicyUtils.validatePermission(String[] permissionRoots,
PermissionMatchingStrategy strategy,
OperationType operationType,
ContextInfo contextInfo) |
Validate the permission against the granted authorities of the current
Authentication .
|
PolicyResponse |
DefaultTrackablePolicyUtils.validateRead(ContextInfo contextInfo,
String[] permissionRoots,
PermissionMatchingStrategy strategy) |
|
PolicyResponse |
TrackablePolicyUtils.validateRead(ContextInfo contextInfo,
String[] permissionRoots,
PermissionMatchingStrategy strategy) |
Validate that before reading, the required permission is available.
|
PolicyResponse |
TrackableEntityPolicyEvaluator.validateReadOutput(Object output,
PolicyInformation policy) |
|
protected PolicyResponse |
TrackableEntityPolicyEvaluator.validateRequestedOperation(Map<Integer,Object> methodParams,
PolicyInformation policy,
ContextInfo contextInfo,
OperationType operationType,
TrackablePolicyUtils trackablePolicyUtils) |
|
protected PolicyResponse |
DefaultTrackablePolicyUtils.validateTenantUpdate(@NonNull Trackable entity,
String tenantId) |
|
PolicyResponse |
DefaultTrackablePolicyUtils.validateUpdate(Trackable entity,
ContextInfo contextInfo,
String[] permissionRoots,
PermissionMatchingStrategy strategy) |
|
PolicyResponse |
TrackablePolicyUtils.validateUpdate(Trackable entity,
ContextInfo contextInfo,
String[] permissionRoots,
PermissionMatchingStrategy strategy) |
Validate that before updating (if the catalog discrimination is in play) that the item's
catalog is both visible to the current application, and mutable.
|