HttpHandler
public class AuthenticationCallHandler extends java.lang.Object implements HttpHandler
HttpHandler
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.Constructor | Description |
---|---|
AuthenticationCallHandler(HttpHandler next) |
Modifier and Type | Method | Description |
---|---|---|
void |
handleRequest(HttpServerExchange exchange) |
Only allow the request through if successfully authenticated or if authentication is not required.
|
public AuthenticationCallHandler(HttpHandler next)
public void handleRequest(HttpServerExchange exchange) throws java.lang.Exception
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangejava.lang.Exception
HttpHandler.handleRequest(io.undertow.server.HttpServerExchange)
Copyright © 2018. All rights reserved.