Interface PermissionHandler

  • All Known Implementing Classes:
    AbstractPermissionHandler, AllowAll, RejectAll

    public interface PermissionHandler
    Interface for schemes that check whether a command can be executed.
    Version:
    $Revision$
    Author:
    FracPete (fracpete at waikato dot ac dot nz)
    • Method Detail

      • permitted

        boolean permitted​(RemoteCommand cmd)
        Checks whether the command is permitted.
        Parameters:
        cmd - the command to check
        Returns:
        true if permitted