public class ComponentPermission
extends org.wicketstuff.security.hive.authorization.permissions.ActionPermission
| Constructor and Description |
|---|
ComponentPermission(Component component,
org.wicketstuff.security.actions.WaspAction action)
Creates a new ComponentPermission with the specified actions.
|
ComponentPermission(String componentAlias,
org.wicketstuff.security.actions.WaspAction actions)
Creates a new ComponentPermission with the specified actions.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
equals(String[] path1,
String[] path2) |
boolean |
implies(org.wicketstuff.security.hive.authorization.Permission permission)
Overrides
ActionPermission.implies(Permission) to also include inheritance between
several levels of parent containers. |
protected boolean |
implies(String[] path1,
String[] path2) |
public ComponentPermission(Component component, org.wicketstuff.security.actions.WaspAction action)
component - the componentaction - the action(s)public ComponentPermission(String componentAlias, org.wicketstuff.security.actions.WaspAction actions)
componentAlias - an alias as produced by SecureComponentHelperactions - the granted action(s)public boolean implies(org.wicketstuff.security.hive.authorization.Permission permission)
ActionPermission.implies(Permission) to also include inheritance between
several levels of parent containers. The same rules still applyimplies in class org.wicketstuff.security.hive.authorization.permissions.ActionPermissionPermission.implies(Permission)Copyright © 2006–2019 Apache Software Foundation. All rights reserved.