Java org.apache.wicket.authroles.authorization.strategies.role.metadata MetaDataRoleAuthorizationStrategy fields, constructors, methods, implement or subclass

Example usage for Java org.apache.wicket.authroles.authorization.strategies.role.metadata MetaDataRoleAuthorizationStrategy fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.wicket.authroles.authorization.strategies.role.metadata MetaDataRoleAuthorizationStrategy.

The text is from its open source code.

Field

MetaDataKeyACTION_PERMISSIONS
Component meta data key for actions/roles information.
StringNO_ROLE
Special role string for denying access to all

Constructor

Method

voidauthorize(final Component component, final Action action, final String roles)
Authorizes the given role to perform the given action on the given component.
voidauthorize(final Class componentClass, final String roles)
Authorizes the given role to create component instances of type componentClass.
voidauthorizeAll(Component component, final Action action)
Grants permission to all roles to perform the given action on the given component.
voidunauthorizeAll(final Component component, final Action action)
Grants authorization to perform the given action to just the role NO_ROLE, effectively denying all other roles.