@Retention(value=RUNTIME) @Target(value=TYPE) @Documented @Inherited public @interface AuthorizeInstantiations
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(); } }
IAuthorizationStrategy
,
AnnotationsRoleAuthorizationStrategy
,
AuthorizeInstantiation
,
AuthorizeInstantiations
Modifier and Type | Required Element and Description |
---|---|
AuthorizeInstantiation[] |
ruleset
The combined ruleset.
|
public abstract AuthorizeInstantiation[] ruleset
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.