Skip to content

Request for In-Memory LDAP Server Examples (Custom Listener & SSL/TLS) #183

@blobgetblob

Description

@blobgetblob

Hi team,

I'm looking for a clear and practical example of how to set up and use the UnboundID LDAP SDK's in-memory server functionality. Specifically, I'm interested in demonstrating:

  1. In-Memory Server Setup: How to initialize and start an in-memory LDAP server without requiring any external dependencies or file system configurations.
  2. Custom Listener: How to attach a custom LDAPListener to the in-memory server to intercept and potentially modify or log LDAP operations (e.g., bind requests, search requests).
  3. SSL/TLS Configuration: How to configure the in-memory server to use SSL/TLS for secure LDAP connections. This would ideally include generating or providing dummy keystore/truststore information for the example.

The goal is to have a self-contained example that showcases these features, which would be incredibly helpful for testing LDAP client logic in a controlled and secure environment.

Could you please provide a code snippet or point me to existing documentation/examples that cover these aspects?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions