public static class ExampleDirectory.Configuration extends Object
Modifier and Type | Field and 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 int |
DEFAULT_PORT
The default port number.
|
boolean |
enable
If
true the example directory server must be
enabled. |
int |
port
The port number on which the example directory server
must accept LDAP client connections.
|
String |
schema
Specifies an alternative schema for the example directory +
server, supplied in a single LDIF file.
|
Constructor and Description |
---|
Configuration(Properties props)
Creates a new example directory server configuration from the
specified properties.
|
public final boolean enable
true
the example directory server must be
enabled.
Property key: exampleDirectoryServer.enable
public static final boolean DEFAULT_ENABLE
public final int port
Property key: exampleDirectoryServer.port
public static final int DEFAULT_PORT
public final String schema
null
the
default built-in server schema must be used.
Property key: exampleDirectoryServer.schema
public final String baseDN
Property key: exampleDirectoryServer.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 © 2016 Connect2id. All Rights Reserved.