Class AuthorizersHandler

java.lang.Object
org.restheart.handlers.PipelinedHandler
org.restheart.security.handlers.AuthorizersHandler
All Implemented Interfaces:
io.undertow.server.HttpHandler

public class AuthorizersHandler extends PipelinedHandler
Executes isAllowed() on all enabled authorizer to check the request An Authorizer can be either a VETOER or an ALLOWER A request is allowed when no VETOER denies it and any ALLOWER allows it
Author:
Andrea Di Cesare <andrea@softinstigate.com>
  • Constructor Details

  • Method Details

    • handleRequest

      public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws Exception
      Specified by:
      handleRequest in interface io.undertow.server.HttpHandler
      Specified by:
      handleRequest in class PipelinedHandler
      Parameters:
      exchange -
      Throws:
      Exception