Module org.apache.wicket.auth.roles
Annotation Interface AuthorizeInstantiations
Groups a set (technically an array) of
AuthorizeInstantiation
s for page authorization.
This offers the ability to instantiate a page based on combined permissions / roles required. It
represents an AND relationship between the included permissions / roles.
This can be used like this:
@AuthorizeInstantiations(ruleset = { @AuthorizeInstantiation("ADMIN"), @AuthorizeInstantiation("MANAGER") }) public class ForAdministrativeManagers extends WebPage { public ForAdministrativeManagers() { super(); } }
- Author:
- René Dieckmann (rene.dieckmann@menoto.de)
- See Also:
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionThe combined ruleset.
-
Element Details
-
ruleset
The combined ruleset.- Returns:
- the combined ruleset
-