Package io.undertow.security.handlers
Class CachedAuthenticatedSessionHandler
- java.lang.Object
-
- io.undertow.security.handlers.CachedAuthenticatedSessionHandler
-
- All Implemented Interfaces:
HttpHandler
public class CachedAuthenticatedSessionHandler extends Object implements HttpHandler
HttpHandler
responsible for setting up theAuthenticatedSessionManager
for cached authentications and registering aNotificationReceiver
to receive the security notifications.This handler also forces the session to change its session ID on sucessful authentication.
- Author:
- Darran Lofthouse
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATTRIBUTE_NAME
static String
NO_ID_CHANGE_REQUIRED
-
Constructor Summary
Constructors Constructor Description CachedAuthenticatedSessionHandler(HttpHandler next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
handleRequest(HttpServerExchange exchange)
Handle the request.
-
-
-
Constructor Detail
-
CachedAuthenticatedSessionHandler
public CachedAuthenticatedSessionHandler(HttpHandler next)
-
-
Method Detail
-
handleRequest
public void handleRequest(HttpServerExchange exchange) throws Exception
Description copied from interface:HttpHandler
Handle the request.- Specified by:
handleRequest
in interfaceHttpHandler
- Parameters:
exchange
- the HTTP request/response exchange- Throws:
Exception
-
-