Modifier and Type | Interface and Description |
---|---|
interface |
Access
The right to access the specified data object.
|
interface |
AllActions
A special action that implies all other actions.
|
interface |
Enable
the right to enable a component.
|
interface |
Inherit
Used by containers to specify that all of there children inherit these actions.
|
interface |
Render
The right to render / read (from) the specified
Component /
IModel . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractWaspAction
Immutable
WaspAction class. |
Modifier and Type | Method and Description |
---|---|
WaspAction |
WaspAction.add(WaspAction other)
Creates a new WaspAction containing both the specified actions and the actions of this
WaspAction.
|
WaspAction |
WaspActionFactory.getAction(org.apache.wicket.authorization.Action actions)
Translates a wicket action to a wasp action.
|
WaspAction |
ActionFactory.getAction(Class<? extends WaspAction> waspActionClass)
Returns the registered action of this class.
|
WaspAction |
ActionFactory.getAction(String actions)
Creates or reuses a WaspAction based on string values.
|
WaspAction |
ActionFactory.register(Class<? extends WaspAction> waspActionClass,
String name)
Register a new action.
|
WaspAction |
WaspAction.remove(WaspAction action)
Creates a new WaspAction with all the actions of this action except those specified.
|
Modifier and Type | Method and Description |
---|---|
List<WaspAction> |
ActionFactory.getRegisteredActions()
Returns a list of all the registered actions at the time of the invocation.
|
Modifier and Type | Method and Description |
---|---|
WaspAction |
WaspAction.add(WaspAction other)
Creates a new WaspAction containing both the specified actions and the actions of this
WaspAction.
|
boolean |
WaspAction.implies(WaspAction other)
Check if the supplied action is implied by this WaspAction.
|
WaspAction |
WaspAction.remove(WaspAction action)
Creates a new WaspAction with all the actions of this action except those specified.
|
Modifier and Type | Method and Description |
---|---|
WaspAction |
ActionFactory.getAction(Class<? extends WaspAction> waspActionClass)
Returns the registered action of this class.
|
WaspAction |
ActionFactory.register(Class<? extends WaspAction> waspActionClass,
String name)
Register a new action.
|
Modifier and Type | Method and Description |
---|---|
boolean |
InverseSecurityCheck.isActionAuthorized(WaspAction action)
Returns false if the user is authorized and true if the user is not authorized.
|
boolean |
AlwaysGrantedSecurityCheck.isActionAuthorized(WaspAction action) |
boolean |
ComponentSecurityCheck.isActionAuthorized(WaspAction action)
Checks if the user is authorized for this component.
|
boolean |
ISecurityCheck.isActionAuthorized(WaspAction action)
Checks if there are sufficient rights to perform the desired action(s).
|
boolean |
ContainerSecurityCheck.isActionAuthorized(WaspAction action)
Checks the container class.
|
boolean |
ClassSecurityCheck.isActionAuthorized(WaspAction action)
Checks if the user is authorized for the action.
|
boolean |
LinkSecurityCheck.isActionAuthorized(WaspAction action) |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractSecurityCheck.isActionAuthorized(Class<? extends WaspAction> waspAction)
Shortcut to
ISecurityCheck.isActionAuthorized(WaspAction) if you quickly want to
check an action. |
Modifier and Type | Method and Description |
---|---|
static boolean |
SecureComponentHelper.isActionAuthorized(org.apache.wicket.Component component,
WaspAction action)
|
boolean |
SecureWebPage.isActionAuthorized(WaspAction action) |
boolean |
SecurePage.isActionAuthorized(WaspAction action) |
boolean |
ISecureComponent.isActionAuthorized(WaspAction action)
Wrapper method for the isActionAuthorized method on component.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SecureTextField.isActionAuthorized(WaspAction action) |
boolean |
SecureForm.isActionAuthorized(WaspAction action) |
Modifier and Type | Method and Description |
---|---|
boolean |
SecureContainerLink.isActionAuthorized(WaspAction action) |
boolean |
SecureAjaxLink.isActionAuthorized(WaspAction action) |
boolean |
SecurePageLink.isActionAuthorized(WaspAction action) |
boolean |
SecureBookmarkablePageLink.isActionAuthorized(WaspAction action) |
Modifier and Type | Method and Description |
---|---|
boolean |
SecurePanel.isActionAuthorized(WaspAction action) |
Modifier and Type | Method and Description |
---|---|
protected WaspAction |
ActionPermission.getAction()
The internal representation of this action.
|
Constructor and Description |
---|
ActionPermission(String name,
WaspAction actions)
Creates a new ActionPermission with the specified name and actions.
|
AllPermissions(String name,
WaspAction actions)
Creates a new AllPermissions that does not imply all other permissions but only those who's
actions it can imply.
|
ComponentPermission(org.apache.wicket.Component component,
WaspAction action)
Creates a new ComponentPermission with the specified actions.
|
ComponentPermission(String componentAlias,
WaspAction actions)
Creates a new ComponentPermission with the specified actions.
|
ComponentSubclassPermission(org.apache.wicket.Component component,
WaspAction action) |
ComponentSubclassPermission(String componentAlias,
WaspAction actions) |
DataPermission(org.apache.wicket.Component component,
SwarmModel<?> model,
WaspAction actions)
Creates a new DataPermission for a components model.
|
DataPermission(String name,
WaspAction actions)
Creates a new DataPermission with the specified name and actions.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ISecureModel.isAuthorized(org.apache.wicket.Component component,
WaspAction action)
Checks if the component is authorized for this model.
|
boolean |
SecureCompoundPropertyModel.isAuthorized(org.apache.wicket.Component component,
WaspAction action) |
boolean |
SecureCompoundPropertyModel.AttachedSecureCompoundPropertyModel.isAuthorized(org.apache.wicket.Component component,
WaspAction action) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
WaspAuthorizationStrategy.isClassAuthorized(Class<?> clazz,
WaspAction action)
Performs the actual authorization check on the component class.
|
abstract boolean |
WaspAuthorizationStrategy.isComponentAuthorized(org.apache.wicket.Component component,
WaspAction action)
Performs the actual authorization check on the component.
|
abstract boolean |
WaspAuthorizationStrategy.isModelAuthorized(ISecureModel<?> model,
org.apache.wicket.Component component,
WaspAction action)
Performs the actual authorization check on the model of the component.
|
Modifier and Type | Class and Description |
---|---|
class |
SwarmAction
Immutable
Action class based on int values to speed up inheritance checking. |
protected static class |
SwarmActionFactory.ImpliesOtherAction
Any class that implies another action.
|
Modifier and Type | Method and Description |
---|---|
WaspAction |
SwarmAction.add(int otherActions)
Creates a new
WaspAction containing both the specified actions and the actions of
this WaspAction . |
WaspAction |
SwarmActionFactory.getAction(org.apache.wicket.authorization.Action action) |
WaspAction |
SwarmActionFactory.getAction(String actions) |
WaspAction |
SwarmAction.remove(WaspAction action)
Creates a new WaspAction with all the actions of this action except those specified.
|
Modifier and Type | Method and Description |
---|---|
List<WaspAction> |
SwarmActionFactory.getRegisteredActions() |
Modifier and Type | Method and Description |
---|---|
SwarmAction |
SwarmAction.add(WaspAction other)
Creates a new
WaspAction containing both the specified actions and the actions of
this WaspAction . |
boolean |
SwarmAction.implies(WaspAction other)
Check if the supplied action is implied (bitwise or) by this SwarmAction.
|
WaspAction |
SwarmAction.remove(WaspAction action)
Creates a new WaspAction with all the actions of this action except those specified.
|
Modifier and Type | Method and Description |
---|---|
SwarmAction |
SwarmActionFactory.getAction(Class<? extends WaspAction> waspActionClass) |
SwarmAction |
SwarmActionFactory.register(Class<? extends WaspAction> waspActionClass,
String name) |
protected SwarmAction |
SwarmActionFactory.register(Class<? extends WaspAction> waspActionClass,
SwarmAction action)
Registers a new action.
|
Constructor and Description |
---|
SwarmActionFactory.ImpliesOtherAction(String name,
SwarmActionFactory factory,
Class<? extends WaspAction> otherAction)
the base action value
|
Modifier and Type | Method and Description |
---|---|
boolean |
DataSecurityCheck.isActionAuthorized(WaspAction action) |
Modifier and Type | Method and Description |
---|---|
boolean |
AbstractSwarmStrategy.isClassAuthorized(Class<?> clazz,
WaspAction action) |
boolean |
AbstractSwarmStrategy.isComponentAuthorized(org.apache.wicket.Component component,
WaspAction action) |
boolean |
AbstractSwarmStrategy.isModelAuthorized(ISecureModel<?> model,
org.apache.wicket.Component component,
WaspAction action)
Checks if some action is granted on the model.
|
Copyright © 2015. All rights reserved.