|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value={PACKAGE,TYPE}) @Documented @Inherited public @interface AuthorizeInstantiation
Annotation 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
,
AnnotationsRoleAuthorizationStrategy
,
AuthorizeActions
,
AuthorizeAction
Optional Element Summary | |
---|---|
java.lang.String[] |
value
Gets the roles that are allowed to take the action. |
public abstract java.lang.String[] value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |