Interface Permission

All Known Implementing Classes:
CompositePermission, DefaultPermission

public interface Permission
Represents a permission that allows or denies a subject (a user, an application, etc.) the execution of an action or set of actions on a resource.
Author:
avasquez
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isAllowed(String action)
    Returns true if action execution is allowed
  • Method Details

    • isAllowed

      boolean isAllowed(String action)
      Returns true if action execution is allowed
      Parameters:
      action - the action to execute
      Returns:
      true if action execution is allowed, false otherwise.