Module org.apache.wicket.auth.roles
Annotation Type AuthorizeAction
-
@Retention(RUNTIME) @Target({PACKAGE,TYPE}) @Documented @Inherited public @interface AuthorizeAction
A mapping of 1..n roles to an action. This annotions must be embedded in theAuthorizeActionsannotation.- Author:
- Eelco Hillenius
- See Also:
IAuthorizationStrategy,AnnotationsRoleAuthorizationStrategy,AuthorizeActions,AuthorizeInstantiation
-
-
Element Detail
-
action
String action
The action that is allowed. The default actions that are supported by Wicket areRENDERandENABLEas defined as constants ofComponent.- Returns:
- the action that is allowed
- See Also:
Component.RENDER,Component.ENABLE
-
-
-
roles
String[] roles
The roles for this action.- Returns:
- the roles for this action. The default is an empty string (annotations do not allow null default values)
- Default:
- {}
-
-
-
deny
String[] deny
The roles to deny for this action.- Returns:
- the roles to deny for this action. The default is an empty string (annotations do not allow null default values)
- Default:
- {}
-
-