public static class SampleDirectory.Configuration extends Object
Modifier and Type | Field | Description |
---|---|---|
String |
baseDN |
The base distinguished name (DN) of the directory information
tree.
|
String |
content |
The initial directory information tree, supplied in a single
LDIF file.
|
static boolean |
DEFAULT_ENABLE |
The default enable policy.
|
static Set<com.unboundid.ldap.sdk.OperationType> |
DEFAULT_OPERATIONS |
The default permitted LDAP operations.
|
static int |
DEFAULT_PORT |
The default port number.
|
boolean |
enable |
If
true the sample directory server must be
enabled. |
Set<com.unboundid.ldap.sdk.OperationType> |
operations |
Specifies the permitted LDAP operations.
|
int |
port |
The port number on which the sample directory server
must accept LDAP client connections.
|
String |
schema |
Specifies an alternative schema for the sample directory +
server, supplied in a single LDIF file.
|
Constructor | Description |
---|---|
Configuration(Properties props) |
Creates a new sample directory server configuration from the
specified properties.
|
public final boolean enable
true
the sample directory server must be
enabled.
Property key: sampleDirectoryServer.enable
public static final boolean DEFAULT_ENABLE
public final int port
Property key: sampleDirectoryServer.port
public static final int DEFAULT_PORT
public final Set<com.unboundid.ldap.sdk.OperationType> operations
Property key: sampleDirectoryServer.operations
public static final Set<com.unboundid.ldap.sdk.OperationType> DEFAULT_OPERATIONS
public final String schema
null
the
default built-in server schema must be used.
Property key: sampleDirectoryServer.schema
public final String baseDN
Property key: sampleDirectoryServer.baseDN
public Configuration(Properties props) throws com.thetransactioncompany.util.PropertyParseException
props
- The configuration properties. Must not be
null
.com.thetransactioncompany.util.PropertyParseException
- On a missing or invalid
property.Copyright © 2018 Connect2id. All rights reserved.