Class XMLHttpRequestAwareAuthCallHandler
- java.lang.Object
-
- io.streamthoughts.azkarra.http.security.handler.XMLHttpRequestAwareAuthCallHandler
-
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class XMLHttpRequestAwareAuthCallHandler extends Object implements io.undertow.server.HttpHandler
This is the finalHttpHandler
in the security chain, it's purpose is to act as a barrier at the end of the chain to ensure authenticate is called after the mechanisms have been associated with the context and the constraint checked.- See Also:
AuthenticationCallHandler
-
-
Constructor Summary
Constructors Constructor Description XMLHttpRequestAwareAuthCallHandler(io.undertow.server.HttpHandler next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleRequest(io.undertow.server.HttpServerExchange exchange)
Only allow the request through if successfully authenticated or if authentication is not required.
-
-
-
Method Detail
-
handleRequest
public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws Exception
Only allow the request through if successfully authenticated or if authentication is not required.- Specified by:
handleRequest
in interfaceio.undertow.server.HttpHandler
- Throws:
Exception
- See Also:
HttpHandler.handleRequest(io.undertow.server.HttpServerExchange)
-
-