Interface Authorizer

All Known Implementing Classes:
ActorAuthorizer, NullAuthorizer

public interface Authorizer
Tests whether permission is granted.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    testPermission(CommandLocals locals, String permission)
    Tests whether permission is granted for the given context.
  • Method Details

    • testPermission

      boolean testPermission(CommandLocals locals, String permission)
      Tests whether permission is granted for the given context.
      Parameters:
      locals - locals
      permission - the permission string
      Returns:
      true if permitted