public class LdapConnection extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected static byte[] |
EMPTY_BYTE_ARRAY |
protected BufferedInputStream |
is
raw connection inputStream
|
protected SaslServer |
saslServer
Sasl server for DIGEST-MD5 authentication
|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
LdapConnection(Socket clientSocket,
UserFactory userSessionFactory,
SearchManager searchManager,
LdapTransactionManager txManager,
PropFindPropertyBuilder propFindPropertyBuilder)
Initialize the streams and start the thread.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
_handleRequest(byte[] inbuf,
int offset) |
void |
close()
Close client connection, streams and Exchange session .
|
protected void |
handleRequest(byte[] inbuf,
int offset) |
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldprotected SaslServer saslServer
protected BufferedInputStream is
protected static final byte[] EMPTY_BYTE_ARRAY
public LdapConnection(Socket clientSocket, UserFactory userSessionFactory, SearchManager searchManager, LdapTransactionManager txManager, PropFindPropertyBuilder propFindPropertyBuilder)
clientSocket - LDAP client socketprotected void handleRequest(byte[] inbuf,
int offset)
throws IOException
IOExceptionprotected void _handleRequest(byte[] inbuf,
int offset)
throws IOException
IOExceptionpublic final void close()
Copyright © 2021 McEvoy Software Ltd. All rights reserved.