ecologylab.services.authentication.nio
Class AuthClientSessionManager
java.lang.Object
ecologylab.generic.Debug
ecologylab.services.distributed.server.clientsessionmanager.AbstractClientSessionManager
ecologylab.services.distributed.server.clientsessionmanager.ClientSessionManager
ecologylab.services.authentication.nio.AuthClientSessionManager
- All Implemented Interfaces:
- AuthMessages, AuthServerRegistryObjects, NetworkingConstants, ServerConstants
public class AuthClientSessionManager
- extends ClientSessionManager
- implements ServerConstants, AuthServerRegistryObjects, AuthMessages
Stores information about the connection context for the client, including
authentication status. Only executes requests from an authenticated client.
Should be extended for more specific implementations. Handles accumulating
incoming messages and translating them into RequestMessage objects.
- Author:
- Zachary O. Toups (toupsz@cs.tamu.edu)
- See Also:
ClientSessionManager
| Fields inherited from interface ecologylab.services.distributed.common.NetworkingConstants |
CHARACTER_ENCODING, CHARSET, CONTENT_LENGTH_STRING, CONTENT_LENGTH_STRING_LENGTH, DECODER, DEFAULT_IDLE_TIMEOUT, DEFAULT_MAX_MESSAGE_LENGTH_CHARS, ENCODER, HTTP_ACCEPT_ENCODING, HTTP_ACCEPTED_ENCODINGS, HTTP_CONTENT_CODING, HTTP_DEFLATE_ENCODING, HTTP_HEADER_LINE_DELIMITER, HTTP_HEADER_TERMINATOR, MAX_HTTP_HEADER_LENGTH, UNIQUE_IDENTIFIER_STRING |
| Methods inherited from class ecologylab.services.distributed.server.clientsessionmanager.AbstractClientSessionManager |
getHandle, getLastActivity, getScope, getSessionId, getSocketKey, isInitialized, isInvalidating, isMessageWaiting, processAllMessagesAndSendResponses, processIncomingSequenceBufToQueue, sendUpdateToClient, setInvalidating, setSocket, shutdown |
| Methods inherited from class ecologylab.generic.Debug |
classSimpleName, closeLoggingFile, debug, debug, debug, debug, debugA, debugA, debugA, debugI, debugI, debugI, error, error, getClassName, getClassName, getInteractive, getPackageName, getPackageName, getPackageName, initialize, level, level, level, logToFile, print, print, println, println, println, println, println, println, printlnA, printlnA, printlnA, printlnI, printlnI, printlnI, printlnI, setLoggingFile, show, show, superString, toggleInteractive, toString, toString, warning, warning, weird, weird |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
AuthClientSessionManager
public AuthClientSessionManager(java.lang.Object token,
int maxPacketSize,
NIOServerIOThread server,
NIOServerProcessor frontend,
java.nio.channels.SelectionKey sk,
TranslationScope translationSpace,
Scope registry,
AuthLogging servicesServer,
Authenticator authenticator)
- Constructs a new AuthClientSessionManager on a server to handle authenticating
client requests.
- Parameters:
token - maxPacketSize - server - frontend - socket - translationSpace - registry - servicesServer -