Module org.apache.wicket.auth.roles
Annotation Type 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 toAuthorizeInstantiation.- Author:
- Carl-Eric Menzel
- See Also:
IAuthorizationStrategy,AnnotationsRoleAuthorizationStrategy
-
-
Element Detail
-
value
String[] 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:
- {}
-
-