Annotation Interface HasPermission
Annotations that applications can use to indicate that a certain method or all methods of a class require
permission checking.
- Author:
- avasquez
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionThe action the current subject is trying to execute.Class<?>
The permission type, which indicates thePermissionEvaluator
to use for permission evaluation. -
Optional Element Summary
Modifier and TypeOptional ElementDescriptionboolean
Indicates if the presence of a valid management token should grant access to the protected resource/action
-
Element Details
-
type
Class<?> typeThe permission type, which indicates thePermissionEvaluator
to use for permission evaluation. -
action
String actionThe action the current subject is trying to execute.
-
-
-
acceptManagementToken
boolean acceptManagementTokenIndicates if the presence of a valid management token should grant access to the protected resource/action- Default:
- false
-