Annotation Type AuthorizeInstantiations
-
@Retention(RUNTIME) @Target(TYPE) @Documented @Inherited public @interface AuthorizeInstantiations
Groups a set (technically an array) ofAuthorizeInstantiation
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:
IAuthorizationStrategy
,AnnotationsRoleAuthorizationStrategy
,AuthorizeInstantiation
,AuthorizeInstantiations
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description AuthorizeInstantiation[]
ruleset
The combined ruleset.
-
-
-
Element Detail
-
ruleset
AuthorizeInstantiation[] ruleset
The combined ruleset.- Returns:
- the combined ruleset
-
-