Class AuthorizationHandler

  • All Implemented Interfaces:
    io.undertow.server.HttpHandler

    public class AuthorizationHandler
    extends Object
    implements io.undertow.server.HttpHandler
    • Constructor Detail

      • AuthorizationHandler

        public AuthorizationHandler​(io.undertow.server.HttpHandler next,
                                    AuthorizationManager authorizationManager)
        Creates a new AuthorizationHandler instance.
        Parameters:
        next - the HttpHandler to forward authorized request.
        authorizationManager - the AuthorizationManager instance.
    • Method Detail

      • handleRequest

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