Interface IActionAuthorizer

  • All Superinterfaces:
    org.apache.wicket.util.io.IClusterable, Serializable

    public interface IActionAuthorizer
    extends org.apache.wicket.util.io.IClusterable
    A way to provide authorization for a specific component action.
    Since:
    1.2
    Author:
    Jonathan Locke
    • Method Detail

      • getAction

        Action getAction()
        Gets the action that this authorizer authorizes.
        Returns:
        The action that this authorizer authorizes
      • authorizeAction

        boolean authorizeAction​(Component component)
        Gets whether this action is authorized.
        Parameters:
        component - The component to authorize this action on
        Returns:
        True if this action is authorized