Example usage for Java org.apache.wicket.authroles.authorization.strategies.role.metadata MetaDataRoleAuthorizationStrategy fields, constructors, methods, implement or subclass
The text is from its open source code.
MetaDataKey | ACTION_PERMISSIONS Component meta data key for actions/roles information. |
String | NO_ROLE Special role string for denying access to all |
void | authorize(final Component component, final Action action, final String roles) Authorizes the given role to perform the given action on the given component. |
void | authorize(final Class Authorizes the given role to create component instances of type componentClass. |
void | authorizeAll(Component component, final Action action) Grants permission to all roles to perform the given action on the given component. |
void | unauthorizeAll(final Component component, final Action action) Grants authorization to perform the given action to just the role NO_ROLE, effectively denying all other roles. |