Class LdapConnection

java.lang.Object
java.lang.Thread
io.milton.ldap.LdapConnection
All Implemented Interfaces:
Runnable

public class LdapConnection extends Thread
Handle a caldav connection. This is the server part of a LDAP client to server connection. This will locate information in some user repository (such as a milton carddav implementation) and format the results as LDAP messages.
  • Field Details

    • saslServer

      protected SaslServer saslServer
      Sasl server for DIGEST-MD5 authentication
    • is

      protected BufferedInputStream is
      raw connection inputStream
    • EMPTY_BYTE_ARRAY

      protected static final byte[] EMPTY_BYTE_ARRAY
  • Constructor Details

  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • handleRequest

      protected void handleRequest(byte[] inbuf, int offset) throws IOException
      Throws:
      IOException
    • _handleRequest

      protected void _handleRequest(byte[] inbuf, int offset) throws IOException
      Throws:
      IOException
    • close

      public final void close()
      Close client connection, streams and Exchange session .