Package com.svenruppert.jsentinel.authorization.annotations
package com.svenruppert.jsentinel.authorization.annotations
-
Annotation InterfacesClassDescriptionThis annotation is to be placed on other annotations, marking them as restriction-annotations and assigning evaluator classes to them.Delegates evaluation to a project-provided
AuthorizationEvaluator.Requires the current subject to hold all listed permissions (AND-semantics).Requires the current subject to hold at least one of the listed permissions (OR-semantics).Requires the current subject to have all listed permissions.Requires the namedPolicy(registered with the resolvedPolicyRegistry) toAllowthe current request.Requires the current subject to have at least one listed role.Compile-time trigger for thesecurity-processorannotation processor.