Package org.restheart.handlers.injectors
Class AuthHeadersRemover
java.lang.Object
org.restheart.handlers.PipelinedHandler
org.restheart.handlers.injectors.AuthHeadersRemover
- All Implemented Interfaces:
io.undertow.server.HttpHandler
injects the context authenticatedAccount
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
Field Summary
Fields inherited from class org.restheart.handlers.PipelinedHandler
CONTENT_TYPE -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance of AuthHeadersRemoverCreates a new instance of AuthHeadersRemover -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRequest(io.undertow.server.HttpServerExchange exchange) before proxyng the request the authentication headers are removedMethods inherited from class org.restheart.handlers.PipelinedHandler
getNext, next, pipe, setNext
-
Constructor Details
-
AuthHeadersRemover
public AuthHeadersRemover()Creates a new instance of AuthHeadersRemover -
AuthHeadersRemover
Creates a new instance of AuthHeadersRemover- Parameters:
next-
-
-
Method Details
-
handleRequest
before proxyng the request the authentication headers are removed- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Specified by:
handleRequestin classPipelinedHandler- Parameters:
exchange-- Throws:
Exception
-