Interface AdminPermissionEvaluator.RequirePermissionCheck
- Enclosing interface:
- AdminPermissionEvaluator
public static interface AdminPermissionEvaluator.RequirePermissionCheck
Useful as a function pointer, i.e. RoleMapperResource is reused bewteen GroupResource and UserResource to manage role mappings.
We don't know what type of resource we're managing here (user or group), so we don't know how to query the policy engine to determine
if an action is allowed.
throws appropriate exception if permission is deny
-
Method Summary
-
Method Details
-
require
void require()
-