Package io.undertow.security.handlers
Class AuthenticationMechanismsHandler
- java.lang.Object
-
- io.undertow.security.handlers.AuthenticationMechanismsHandler
-
- All Implemented Interfaces:
HttpHandler
public class AuthenticationMechanismsHandler extends Object implements HttpHandler
Authentication handler that adds one or more authentication mechanisms to the security context- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description AuthenticationMechanismsHandler(HttpHandler next, List<AuthenticationMechanism> authenticationMechanisms)AuthenticationMechanismsHandler(List<AuthenticationMechanism> authenticationHandlers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HttpHandlergetNext()voidhandleRequest(HttpServerExchange exchange)Handle the request.AuthenticationMechanismsHandlersetNext(HttpHandler next)
-
-
-
Constructor Detail
-
AuthenticationMechanismsHandler
public AuthenticationMechanismsHandler(HttpHandler next, List<AuthenticationMechanism> authenticationMechanisms)
-
AuthenticationMechanismsHandler
public AuthenticationMechanismsHandler(List<AuthenticationMechanism> authenticationHandlers)
-
-
Method Detail
-
handleRequest
public void handleRequest(HttpServerExchange exchange) throws Exception
Description copied from interface:HttpHandlerHandle the request.- Specified by:
handleRequestin interfaceHttpHandler- Parameters:
exchange- the HTTP request/response exchange- Throws:
Exception
-
getNext
public HttpHandler getNext()
-
setNext
public AuthenticationMechanismsHandler setNext(HttpHandler next)
-
-