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

public Class AuthenticationMechanismsHandler

extends Object
implements HttpHandler
Class Inheritance
All Implemented Interfaces
io.undertow.server.HttpHandler
Imports
io.undertow.Handlers, io.undertow.security.api.AuthenticationMechanism, .AuthenticationMechanismContext, .SecurityContext, io.undertow.server.HttpHandler, .HttpServerExchange, io.undertow.server.handlers.ResponseCodeHandler, java.util.List

Authentication handler that adds one or more authentication mechanisms to the security context
Author
Stuart Douglas

Field Summary

Modifier and TypeField and Description
private final AuthenticationMechanism[]
private volatile HttpHandler

Constructor Summary

AccessConstructor and Description
public
AuthenticationMechanismsHandler(final HttpHandler next, final List<AuthenticationMechanism> authenticationMechanisms)

public

Method Summary

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

Implements io.undertow.server.HttpHandler.handleRequest.

Handle the request.

public AuthenticationMechanismsHandler
setNext(final HttpHandler next)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

authenticationMechanismsback to summary
private final AuthenticationMechanism[] authenticationMechanisms
nextback to summary
private volatile HttpHandler next

Constructor Detail

AuthenticationMechanismsHandlerback to summary
public AuthenticationMechanismsHandler(final HttpHandler next, final List<AuthenticationMechanism> authenticationMechanisms)
AuthenticationMechanismsHandlerback to summary
public AuthenticationMechanismsHandler(final List<AuthenticationMechanism> authenticationHandlers)

Method Detail

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

Implements io.undertow.server.HttpHandler.handleRequest.

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

Handle the request.

Parameters
exchange:HttpServerExchange

the HTTP request/response exchange

Annotations
@Override
setNextback to summary
public AuthenticationMechanismsHandler setNext(final HttpHandler next)