Class AuthOverloadHandler
java.lang.Object
org.openremote.container.security.AuthOverloadHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler
If a client can't set Authorization header (e.g. Javascript websocket API), use a request
parameter. This handler grabs the parameter and sets it as a regular header. This handler
will also grab
Constants.REALM_PARAM_NAME
as
a request parameter and set it as a regular header.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
handleRequest
(io.undertow.server.HttpServerExchange exchange)
-
Field Details
-
next
protected final io.undertow.server.HttpHandler next
-
-
Constructor Details
-
AuthOverloadHandler
public AuthOverloadHandler(io.undertow.server.HttpHandler next)
-
-
Method Details
-
handleRequest
- Specified by:
handleRequest
in interfaceio.undertow.server.HttpHandler
- Throws:
Exception
-