|
||||||||||
| 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 | |
|---|---|
java.lang.String |
action
The action that is allowed. |
| Optional Element Summary | |
|---|---|
java.lang.String[] |
deny
The roles to deny for this action. |
java.lang.String[] |
roles
The roles for this action. |
| Element Detail |
|---|
public abstract java.lang.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 java.lang.String[] roles
public abstract java.lang.String[] deny
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||