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