HttpHandler
public class CachedAuthenticatedSessionHandler extends java.lang.Object implements HttpHandler
HttpHandler
responsible for setting up the AuthenticatedSessionManager
for cached authentications and
registering a NotificationReceiver
to receive the security notifications.
This handler also forces the session to change its session ID on sucessful authentication.
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
ATTRIBUTE_NAME |
|
static java.lang.String |
NO_ID_CHANGE_REQUIRED |
Constructor | Description |
---|---|
CachedAuthenticatedSessionHandler(HttpHandler next) |
Modifier and Type | Method | Description |
---|---|---|
void |
handleRequest(HttpServerExchange exchange) |
Handle the request.
|
public static final java.lang.String ATTRIBUTE_NAME
public static final java.lang.String NO_ID_CHANGE_REQUIRED
public CachedAuthenticatedSessionHandler(HttpHandler next)
public void handleRequest(HttpServerExchange exchange) throws java.lang.Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangejava.lang.Exception
Copyright © 2018. All rights reserved.