Class CachedAuthenticatedSessionHandler
java.lang.Object
io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler
- All Implemented Interfaces:
io.undertow.server.HttpHandler
public class CachedAuthenticatedSessionHandler
extends Object
implements io.undertow.server.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.- Author:
- Darran Lofthouse
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCachedAuthenticatedSessionHandler(io.undertow.server.HttpHandler next, ServletContextImpl servletContext) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleRequest(io.undertow.server.HttpServerExchange exchange) protected io.undertow.server.session.SessionunderlyingSession(HttpSessionImpl httpSession)
-
Field Details
-
ATTRIBUTE_NAME
-
NO_ID_CHANGE_REQUIRED
-
-
Constructor Details
-
CachedAuthenticatedSessionHandler
public CachedAuthenticatedSessionHandler(io.undertow.server.HttpHandler next, ServletContextImpl servletContext)
-
-
Method Details
-
handleRequest
- Specified by:
handleRequestin interfaceio.undertow.server.HttpHandler- Throws:
Exception
-
underlyingSession
-