public class ActionAuthorizationStrategy extends IAuthorizationStrategy.AllowAllAuthorizationStrategy
IAuthorizationStrategy.AllowAllAuthorizationStrategyALLOW_ALL| Constructor and Description |
|---|
ActionAuthorizationStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
addActionAuthorizer(IActionAuthorizer authorizer)
Adds an action authorizer.
|
boolean |
isActionAuthorized(Component component,
Action action)
Gets whether the given action is permitted.
|
isInstantiationAuthorized, isResourceAuthorizedpublic void addActionAuthorizer(IActionAuthorizer authorizer)
authorizer - The action authorizer to addpublic boolean isActionAuthorized(Component component, Action action)
IAuthorizationStrategyisActionAuthorized in interface IAuthorizationStrategyisActionAuthorized in class IAuthorizationStrategy.AllowAllAuthorizationStrategycomponent - The component to be acted uponaction - The action to authorize on the componentIAuthorizationStrategy.isActionAuthorized(org.apache.wicket.Component,
org.apache.wicket.authorization.Action)Copyright © 2006–2021 Apache Software Foundation. All rights reserved.