Module org.apache.wicket.auth.roles
Annotation Interface AuthorizeResource
@Retention(RUNTIME)
@Target({PACKAGE,TYPE})
@Documented
@Inherited
public @interface AuthorizeResource
Annotation for configuring what roles are allowed for requesting the annotated resource. It works analogously
to
AuthorizeInstantiation
.- Author:
- Carl-Eric Menzel
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
value
Gets the roles that are allowed to take the action.- Returns:
- the roles that are allowed. Returns a zero length array by default
- Default:
- {}
-