public class CachedAuthenticatedSessionHandler extends 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 and Description |
---|---|
static String |
ATTRIBUTE_NAME |
static String |
NO_ID_CHANGE_REQUIRED |
Constructor and Description |
---|
CachedAuthenticatedSessionHandler(HttpHandler next) |
Modifier and Type | Method and Description |
---|---|
void |
handleRequest(HttpServerExchange exchange)
Handle the request.
|
public static final String ATTRIBUTE_NAME
public static final String NO_ID_CHANGE_REQUIRED
public CachedAuthenticatedSessionHandler(HttpHandler next)
public void handleRequest(HttpServerExchange exchange) throws Exception
HttpHandler
handleRequest
in interface HttpHandler
exchange
- the HTTP request/response exchangeException
Copyright © 2021 JBoss by Red Hat. All rights reserved.