public static class ExampleDirectory.Configuration extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
java.lang.String |
baseDN
The base distinguished name (DN) of the directory information
tree.
|
java.lang.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.
|
java.lang.String |
schema
Specifies an alternative schema for the example directory +
server, supplied in a single LDIF file.
|
Constructor and Description |
---|
Configuration(java.util.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 java.lang.String schema
null
the
default built-in server schema must be used.
Property key: exampleDirectoryServer.schema
public final java.lang.String baseDN
Property key: exampleDirectoryServer.baseDN
public final java.lang.String content
null
the directory will be left
empty.
Property key: exampleDirectoryServer.content
public Configuration(java.util.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.