Package io.undertow.security.handlers
Class AuthenticationMechanismsHandler
- java.lang.Object
-
- io.undertow.security.handlers.AuthenticationMechanismsHandler
-
- All Implemented Interfaces:
HttpHandler
public class AuthenticationMechanismsHandler extends java.lang.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, java.util.List<AuthenticationMechanism> authenticationMechanisms)AuthenticationMechanismsHandler(java.util.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, java.util.List<AuthenticationMechanism> authenticationMechanisms)
-
AuthenticationMechanismsHandler
public AuthenticationMechanismsHandler(java.util.List<AuthenticationMechanism> authenticationHandlers)
-
-
Method Detail
-
handleRequest
public void handleRequest(HttpServerExchange exchange) throws java.lang.Exception
Description copied from interface:HttpHandlerHandle the request.- Specified by:
handleRequestin interfaceHttpHandler- Parameters:
exchange- the HTTP request/response exchange- Throws:
java.lang.Exception
-
getNext
public HttpHandler getNext()
-
setNext
public AuthenticationMechanismsHandler setNext(HttpHandler next)
-
-