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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
authorizeAction(Component component)
Gets whether this action is authorized.Action
getAction()
Gets the action that this authorizer authorizes.
-
-
-
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
-
-