public class AllPermissions extends ActionPermission
ActionPermissions implying those actions are
implied. Permissions that do not subclass the ActionPermission are always implied.
Note that actions registered with the ActionFactory after this permission was created are
not automatically implied.| Constructor and Description |
|---|
AllPermissions(String name,
org.wicketstuff.security.actions.ActionFactory factory)
Preferred constructor.
|
AllPermissions(String name,
org.wicketstuff.security.actions.WaspAction actions)
Creates a new AllPermissions that does not imply all other permissions but only those who's
actions it can imply.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
implies(Permission permission)
Implies every other permission, but the other way around is not necessarily true.
|
equals, getAction, getActions, hashCode, toStringgetNamepublic AllPermissions(String name, org.wicketstuff.security.actions.ActionFactory factory)
new AllPermissions(name,factory.getAction(AllAction.class)); or not specifying
the action part in the policy file.name - the name of this permission.factory - a factory capable of creating SwarmActionspublic AllPermissions(String name, org.wicketstuff.security.actions.WaspAction actions)
Render action only render actions are
implied not Enable actions.name - actions - implies(Permission)public boolean implies(Permission permission)
AllActions action it only
implies other ActionPermissions who's actions are implied by this permission's
actions.implies in class ActionPermissionActionPermission.implies(org.wicketstuff.security.hive.authorization.Permission)Copyright © 2006–2020 Apache Software Foundation. All rights reserved.