| Package | Description |
|---|---|
| org.apache.directory.server.config | |
| org.apache.directory.server.config.builder |
| Modifier and Type | Method and Description |
|---|---|
private void |
ConfigWriter.convertConfigurationBeanToLdifEntries()
Converts the configuration bean to a list of LDIF entries.
|
private AdsBaseBean |
ConfigPartitionReader.createBean(org.apache.directory.api.ldap.model.schema.ObjectClass objectClass)
Create the base Bean from the ObjectClass name.
|
java.util.List<org.apache.directory.api.ldap.model.ldif.LdifEntry> |
ConfigWriter.getConvertedLdifEntries()
Gets the converted LDIF entries from the configuration bean.
|
java.util.List<AdsBaseBean> |
ConfigPartitionReader.read(org.apache.directory.api.ldap.model.name.Dn baseDn,
java.lang.String name,
org.apache.directory.api.ldap.model.message.SearchScope scope,
boolean mandatory)
Read some configuration element from the DIT using its name
|
ConfigBean |
ConfigPartitionReader.readConfig(org.apache.directory.api.ldap.model.name.Dn baseDn)
Read the configuration from the DIT, returning a bean containing all of it.
|
ConfigBean |
ConfigPartitionReader.readConfig(org.apache.directory.api.ldap.model.name.Dn baseDn,
java.lang.String objectClass)
Read the configuration from the DIT, returning a bean containing all of it.
|
private void |
ConfigPartitionReader.readFieldValue(AdsBaseBean bean,
java.lang.reflect.Field field,
org.apache.directory.api.ldap.model.entry.Entry entry,
java.lang.String attributeTypeName,
boolean mandatory) |
private void |
ConfigPartitionReader.readMultiValuedField(AdsBaseBean bean,
java.lang.reflect.Field field,
org.apache.directory.api.ldap.model.entry.Attribute attribute)
Read the multiple entry value for an AttributeType, and feed the Bean field with this value
|
private void |
ConfigPartitionReader.readSingleValueField(AdsBaseBean bean,
java.lang.reflect.Field beanField,
org.apache.directory.api.ldap.model.entry.Attribute fieldAttr)
Read the single entry value for an AttributeType, and feed the Bean field with this value
|
void |
ConfigWriter.writeToFile(java.io.File file)
Writes the configuration bean as LDIF to the given file.
|
void |
ConfigWriter.writeToPath(java.lang.String path)
Writes the configuration bean as LDIF to the given file.
|
java.lang.String |
ConfigWriter.writeToString()
Writes the configuration to a String object.
|
| Modifier and Type | Method and Description |
|---|---|
static Authenticator |
ServiceBuilder.createAuthenticator(AuthenticatorBean authenticatorBean)
Creates a Authenticator from the configuration
|
static Authenticator[] |
ServiceBuilder.createAuthenticators(java.util.List<AuthenticatorBean> list)
Creates the array of transports read from the DIT
|
static JdbmPartition |
ServiceBuilder.createJdbmPartition(DirectoryService directoryService,
JdbmPartitionBean jdbmPartitionBean)
Create a new instance of a JdbmPartition
|
static MavibotPartition |
ServiceBuilder.createMavibotPartition(DirectoryService directoryService,
MavibotPartitionBean mvbtPartitionBean) |
static Partition |
ServiceBuilder.createPartition(DirectoryService directoryService,
PartitionBean partitionBean)
Create the a Partition instantiated from the configuration
|
static java.util.Map<java.lang.String,Partition> |
ServiceBuilder.createPartitions(DirectoryService directoryService,
java.util.List<PartitionBean> partitionBeans)
Create the set of Partitions instantiated from the configuration
|
static java.util.List<ReplicationConsumer> |
ServiceBuilder.createReplConsumers(java.util.List<ReplConsumerBean> replConsumerBeans)
instantiate the ReplicationConsumers based on the configuration present in ReplConsumerBeans
|
static MechanismHandler |
ServiceBuilder.createSaslMechHandler(SaslMechHandlerBean saslMechHandlerBean)
Loads and instantiates a MechanismHandler from the configuration entry
|
static java.util.List<org.apache.directory.api.ldap.model.ldif.LdifEntry> |
ServiceBuilder.readTestEntries(java.lang.String entryFilePath)
Load the Test entries
|
private static void |
ServiceBuilder.setContextEntry(PartitionBean bean,
AbstractPartition partition)
Sets the configured context entry if present in the given partition bean
|