public class InMemoryDirectory extends Object
| Modifier and Type | Field and Description |
|---|---|
private com.unboundid.ldap.listener.InMemoryDirectoryServer |
directoryServer
Directory server.
|
| Constructor and Description |
|---|
InMemoryDirectory(Resource ldif)
Constructor without STARTTLS support.
|
InMemoryDirectory(Resource ldif,
Resource keystore)
Constructor with STARTTLS support.
|
@Nonnull private final com.unboundid.ldap.listener.InMemoryDirectoryServer directoryServer
public InMemoryDirectory(@Nonnull Resource ldif) throws com.unboundid.ldap.sdk.LDAPException, IOException
LDIF - the LDIF resource to be importedcom.unboundid.ldap.sdk.LDAPException - if the in-memory directory server cannot be createdIOException - if the LDIF resource cannot be importedpublic InMemoryDirectory(@Nonnull Resource ldif, @Nonnull Resource keystore) throws com.unboundid.ldap.sdk.LDAPException, IOException
ldif - the LDIF resource to be importedkeystore - to use for startTLScom.unboundid.ldap.sdk.LDAPException - if the in-memory directory server cannot be createdIOException - if the LDIF resource cannot be importedCopyright © 1999–2015. All rights reserved.