io.undertow.server.HttpHandler
public class ServletAuthenticationCallHandler extends Object implements io.undertow.server.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.
This handler uses the Servlet HttpServletResponse.sendError(int)
method to make
sure the correct error page is displayed.Constructor | Description |
---|---|
ServletAuthenticationCallHandler(io.undertow.server.HttpHandler next) |
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.
|
public ServletAuthenticationCallHandler(io.undertow.server.HttpHandler next)
public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws Exception
handleRequest
in interface io.undertow.server.HttpHandler
Exception
HttpHandler.handleRequest(io.undertow.server.HttpServerExchange)
Copyright © 2018. All rights reserved.