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 | Class and Description |
|---|---|
| private class | |
| private class |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private final HttpHandler | |
| public static final String | |
| private final NotificationReceiver | |
| private final ServletContextImpl | |
| private final AuthenticatedSessionManager |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | handleRequest(HttpServerExchange
the HTTP request/response exchange exchange)Implements io. Handle the request. |
| private boolean | |
| protected Session |
| ATTRIBUTE_NAME | back to summary |
|---|---|
| public static final String ATTRIBUTE_NAME | |
| next | back to summary |
|---|---|
| private final HttpHandler next | |
| NO_ID_CHANGE_REQUIRED | back to summary |
|---|---|
| public static final String NO_ID_CHANGE_REQUIRED | |
| NOTIFICATION_RECEIVER | back to summary |
|---|---|
| private final NotificationReceiver NOTIFICATION_RECEIVER | |
| servletContext | back to summary |
|---|---|
| private final ServletContextImpl servletContext | |
| SESSION_MANAGER | back to summary |
|---|---|
| private final AuthenticatedSessionManager SESSION_MANAGER | |
| CachedAuthenticatedSessionHandler | back to summary |
|---|---|
| public CachedAuthenticatedSessionHandler(final HttpHandler next, final ServletContextImpl servletContext) | |
| handleRequest | back to summary |
|---|---|
| public void handleRequest(HttpServerExchange exchange) throws Exception Implements io. Doc from io. Handle the request.
| |
| isCacheable | back to summary |
|---|---|
| private boolean isCacheable(final SecurityNotification notification) | |
| underlyingSession | back to summary |
|---|---|
| protected Session underlyingSession(HttpSessionImpl httpSession) | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | handleNotification(SecurityNotification notification)
Implements io. Handle a security related notification. |
| SecurityNotificationReceiver | back to summary |
|---|---|
| private SecurityNotificationReceiver() | |
| handleNotification | back to summary |
|---|---|
| public void handleNotification(SecurityNotification notification) Implements io. Doc from io. Handle a security related notification.
The
| |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public AuthenticatedSessionManager. |
| ServletAuthenticatedSessionManager | back to summary |
|---|---|
| private ServletAuthenticatedSessionManager() | |
| clearSession | back to summary |
|---|---|
| public void clearSession(HttpServerExchange exchange) Implements io.
| |
| lookupSession | back to summary |
|---|---|
| public AuthenticatedSessionManager. Implements io.
| |