Module org.apache.wicket.auth.roles
Annotation Interface 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 the
AuthorizeActions
annotation.- Author:
- Eelco Hillenius
- See Also:
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
action
The action that is allowed. The default actions that are supported by Wicket areRENDER
andENABLE
as defined as constants of
Component
.- Returns:
- the action that is allowed
- See Also:
-
-
-
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
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:
- {}
-