Annotation Type AuthorizeActions
-
@Retention(RUNTIME) @Target(TYPE) @Documented @Inherited public @interface AuthorizeActions
Groups a set (technically an array) ofAuthorizeAction
s for authorization. This annotation works on a class level, and can be used like this:// A panel that is only visible for users with role ADMIN @AuthorizeAction(action = "RENDER", roles = { "ADMIN", "USER" }) public class ForAdminsAndUsers extends Panel { public ForAdminsAndUsers(String id) { super(id); } }
- Author:
- Eelco Hillenius
- See Also:
IAuthorizationStrategy
,AnnotationsRoleAuthorizationStrategy
,AuthorizeAction
,AuthorizeInstantiation
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description AuthorizeAction[]
actions
The actions that are allowed.
-
-
-
Element Detail
-
actions
AuthorizeAction[] actions
The actions that are allowed.- Returns:
- the allowed actions
-
-