|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Retention(value=RUNTIME)
@Target(value={PACKAGE,TYPE})
@Documented
@Inherited
public @interface AuthorizeInstantiationAnnotation for configuring what roles are allowed for instantiation the annotated component or package. This annotation can be used for classes and packages, and can be used like this:
// only users with role ADMIN are allowed to create instances of this page, whether it is
// either bookmarkable or not
@AuthorizeInstantiation("ADMIN")
public class AdminAnnotationsBookmarkablePage extends WebPage
IAuthorizationStrategy,
org.apache.wicket.authorization.strategies.role.annotations.AnnotationsRoleAuthorizationStrategy,
org.apache.wicket.authorization.strategies.role.annotations.AuthorizeActions,
org.apache.wicket.authorization.strategies.role.annotations.AuthorizeAction| Optional Element Summary | |
|---|---|
String[] |
value
Gets the roles that are allowed to take the action. |
public abstract String[] value
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||