public class SecurityInitialHandler extends Object implements HttpHandler
HttpServerExchange
.
This handler is called early in the processing of the incoming request, subsequently supported authentication mechanisms will
be added to the context, a decision will then be made if authentication is required or optional and the associated mechanisms
will be called.
In addition to the HTTPExchange authentication state can also be associated with the
HttpServerConnection
and with the Session
however this is
mechanism specific so it is down to the actual mechanisms to decide if there is state that can be re-used.Constructor and Description |
---|
SecurityInitialHandler(AuthenticationMode authenticationMode,
IdentityManager identityManager,
HttpHandler next) |
SecurityInitialHandler(AuthenticationMode authenticationMode,
IdentityManager identityManager,
String programaticMechName,
HttpHandler next) |
public SecurityInitialHandler(AuthenticationMode authenticationMode, IdentityManager identityManager, String programaticMechName, HttpHandler next)
public SecurityInitialHandler(AuthenticationMode authenticationMode, IdentityManager identityManager, HttpHandler next)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
HttpHandler.handleRequest(io.undertow.server.HttpServerExchange)
Copyright © 2013 JBoss by Red Hat. All Rights Reserved.