Package com.broadleafcommerce.data.tracking.core.policy
-
Interface Summary Interface Description Owned Describes a method response object, or method parameter object, that can be validated for ownership against the currently logged in user.PolicyAspectProcessor Responsible for processing AOP calls toPolicy
annotated methods and running those requests through aPolicyEvaluator
before allowing the call to proceed.PolicyEvaluator Validate security context required to execute a method annotated withPolicy
.PolicyUtils Utility class capable of performing validation of a requested operation based on permissions available to the currentAuthentication
. -
Class Summary Class Description CrudPolicyAspect Validate methods specifically inherited fromCrudRepository
.DefaultPolicyAspect ValidatePolicy
annotated methodsDefaultPolicyAspectProcessor PermissionUtils Convenience methods used for processing permissions and authoritiesPolicyContext A thread context to keep track ofPolicy
aspects during validation.PolicyInformation DTO object to hold information harvested formPolicy
annotations during runtime execution of validation.PolicyOverride An alternative toPolicy
used to introduce, alter or remove policy configuration on one or more component methods.PolicyResponse The result of the validation.PolicySecurityExpressionRoot Default SPEL support for Authentication context evaluation.ValidationContext Thread context used to describe whether or not a policy validation is currently in progress. -
Enum Summary Enum Description IdentityType One of more possible user identity types.PermissionMatchingStrategy Strategy for multiple permissions evaluated against a policyPermissionUtils.PermissionType -
Annotation Types Summary Annotation Type Description Policy Used to annotate a method that should be validated against one or more policies before the method is allowed to execute.