Class FileAclAuthorizer

java.lang.Object
org.restheart.plugins.FileConfigurablePlugin
org.restheart.security.authorizers.FileAclAuthorizer
All Implemented Interfaces:
org.restheart.plugins.ConfigurablePlugin, org.restheart.plugins.Plugin, org.restheart.plugins.security.Authorizer

public class FileAclAuthorizer extends org.restheart.plugins.FileConfigurablePlugin implements org.restheart.plugins.security.Authorizer
Author:
Andrea Di Cesare <andrea@softinstigate.com>
  • Field Details

  • Constructor Details

    • FileAclAuthorizer

      public FileAclAuthorizer()
  • Method Details

    • init

      public void init() throws FileNotFoundException, org.restheart.configuration.ConfigurationException
      Throws:
      FileNotFoundException
      org.restheart.configuration.ConfigurationException
    • consumeConfiguration

      public Consumer<? super Map<String,Object>> consumeConfiguration()
      Specified by:
      consumeConfiguration in class org.restheart.plugins.FileConfigurablePlugin
    • isAllowed

      public boolean isAllowed(org.restheart.exchange.Request<?> request)
      Specified by:
      isAllowed in interface org.restheart.plugins.security.Authorizer
      Parameters:
      request -
      Returns:
    • isAuthenticationRequired

      public boolean isAuthenticationRequired(org.restheart.exchange.Request<?> request)
      Specified by:
      isAuthenticationRequired in interface org.restheart.plugins.security.Authorizer