Interface PolicyProcessor
- All Known Implementing Classes:
AbstractCustomPolicyProcessor, AbstractDmsPolicyProcessor, AbstractMembershipHierarchyPolicyProcessor, AddressMembershipHierarchyPolicyProcessor, DenyCounterWriteAccessPolicyProcessor, DenyUniqueIdWriteAccessPolicyProcessor, EntityDocumentsPolicyProcessor, FolderReadPermissionForNonAnonymous, GenericHierarchyPolicyProcessor, GroovyScriptingPolicyProcessor, HistoryPolicyProcessor, MembershipHierarchyPolicyProcessor, NullPolicyProcessor, PageReadPermissionForNonAnonymous, PageReadPermissionForRedactor, ResourceReadPermissionForNonAnonymous, SystemEntityPolicyProcessor, UserMembershipHierarchyPolicyProcessor, WidgetConfigPolicyProcessor, WidgetPolicyProcessor
public interface PolicyProcessor
Provides a hook for contributing policy post-processors.
-
Method Summary
Modifier and TypeMethodDescriptionvoidprocessPolicy(PolicyBuilder policy, Object target) Post-process the given policy.
-
Method Details
-
processPolicy
Post-process the given policy. On phase `LOGIN`, the `target` is the principal being logged in, on phase `GUARD`, it's the object being guarded. On phase `LOGIN` the `policy` is the entire policy containing all rules that affect the current user, on phase `GUARD` the policy only contains the rules that are relevant to the guarded objects (the entire policy, if needed, can be retrieved from theSecurityContext).- Throws:
Exception
-