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
HttpHandlerresponsible for setting up theAuthenticatedSessionManagerfor cached authentications and registering aNotificationReceiverto 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 StringATTRIBUTE_NAMEstatic StringNO_ID_CHANGE_REQUIRED
-
Constructor Summary
Constructors Constructor Description CachedAuthenticatedSessionHandler(HttpHandler next)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleRequest(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:HttpHandlerHandle the request.- Specified by:
handleRequestin interfaceHttpHandler- Parameters:
exchange- the HTTP request/response exchange- Throws:
Exception
-
-