Package io.undertow.security.handlers
Class AbstractSecurityContextAssociationHandler
- java.lang.Object
-
- io.undertow.security.handlers.AbstractSecurityContextAssociationHandler
-
- All Implemented Interfaces:
HttpHandler
- Direct Known Subclasses:
SecurityInitialHandler
public abstract class AbstractSecurityContextAssociationHandler extends Object implements HttpHandler
Base class responsible for associating theSecurityContextinstance with the current request.- Author:
- Darran Lofthouse
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSecurityContextAssociationHandler(HttpHandler next)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract SecurityContextcreateSecurityContext(HttpServerExchange exchange)voidhandleRequest(HttpServerExchange exchange)Handle the request.
-
-
-
Constructor Detail
-
AbstractSecurityContextAssociationHandler
protected AbstractSecurityContextAssociationHandler(HttpHandler next)
-
-
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- See Also:
HttpHandler.handleRequest(io.undertow.server.HttpServerExchange)
-
createSecurityContext
public abstract SecurityContext createSecurityContext(HttpServerExchange exchange)
-
-