|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value={PACKAGE,TYPE}) @Documented @Inherited public @interface AuthorizeAction
A mapping of 1..n roles to an action. This annotions must be embedded in the
AuthorizeActions
annotation.
IAuthorizationStrategy
,
AnnotationsRoleAuthorizationStrategy
,
AuthorizeActions
,
AuthorizeInstantiation
Required Element Summary | |
---|---|
String |
action
The action that is allowed. |
Optional Element Summary | |
---|---|
String[] |
deny
The roles to deny for this action. |
String[] |
roles
The roles for this action. |
Element Detail |
---|
public abstract String action
RENDER
and ENABLE as defined as constants
of Component
.
- Returns:
- the action that is allowed
- See Also:
Component.RENDER
,
Component.ENABLE
public abstract String[] roles
public abstract String[] deny
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |