|
||||||||||
| 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
org.apache.wicket.authorization.strategies.role.annotations.AuthorizeActions annotation.
IAuthorizationStrategy,
org.apache.wicket.authorization.strategies.role.annotations.AnnotationsRoleAuthorizationStrategy,
org.apache.wicket.authorization.strategies.role.annotations.AuthorizeActions,
org.apache.wicket.authorization.strategies.role.annotations.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 | |||||||||