io.undertow.server.HttpHandler
public class CachedAuthenticatedSessionHandler
extends java.lang.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.Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
ATTRIBUTE_NAME |
|
static java.lang.String |
NO_ID_CHANGE_REQUIRED |
Constructor | Description |
---|---|
CachedAuthenticatedSessionHandler(io.undertow.server.HttpHandler next,
ServletContextImpl servletContext) |
Modifier and Type | Method | Description |
---|---|---|
void |
handleRequest(io.undertow.server.HttpServerExchange exchange) |
|
protected io.undertow.server.session.Session |
underlyingSession(HttpSessionImpl httpSession) |
public static final java.lang.String ATTRIBUTE_NAME
public static final java.lang.String NO_ID_CHANGE_REQUIRED
public CachedAuthenticatedSessionHandler(io.undertow.server.HttpHandler next, ServletContextImpl servletContext)
public void handleRequest(io.undertow.server.HttpServerExchange exchange) throws java.lang.Exception
handleRequest
in interface io.undertow.server.HttpHandler
java.lang.Exception
protected io.undertow.server.session.Session underlyingSession(HttpSessionImpl httpSession)
Copyright © 2018. All rights reserved.