Top Description Fields Constructors Methods
io.undertow.security.handlers

public Class AuthenticationCallHandler

extends Object
implements HttpHandler
Class Inheritance
All Implemented Interfaces
io.undertow.server.HttpHandler
Imports
io.undertow.security.api.SecurityContext, io.undertow.server.HttpHandler, .HttpServerExchange

This is the final 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.
Author
Darran Lofthouse

Field Summary

Modifier and TypeField and Description
private final HttpHandler

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
handleRequest(final HttpServerExchange
the HTTP request/response exchange
exchange
)

Implements io.undertow.server.HttpHandler.handleRequest.

Only allow the request through if successfully authenticated or if authentication is not required.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nextback to summary
private final HttpHandler next

Constructor Detail

AuthenticationCallHandlerback to summary
public AuthenticationCallHandler(final HttpHandler next)

Method Detail

handleRequestback to summary
public void handleRequest(final HttpServerExchange exchange) throws Exception

Implements io.undertow.server.HttpHandler.handleRequest.

Only allow the request through if successfully authenticated or if authentication is not required.

Parameters
exchange:HttpServerExchange

Doc from io.undertow.server.HttpHandler.handleRequest.

the HTTP request/response exchange

Annotations
@Override
See Also
io.undertow.server.HttpHandler#handleRequest(io.undertow.server.HttpServerExchange)