Interface IActionAuthorizer

All Superinterfaces:
IClusterable, Serializable

public interface IActionAuthorizer extends IClusterable
A way to provide authorization for a specific component action.
Since:
1.2
Author:
Jonathan Locke
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Gets whether this action is authorized.
    Gets the action that this authorizer authorizes.
  • Method Details

    • 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