Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following schema represent the properties set by this configuration file :

Configuration initialization

During this phase, we instanciate the MutableServerStartupConfiguration, which will initialize a lot of structures, through the call to those three methods :

  • setDefaultAuthenticatorConfigurations
  • setDefaultBootstrapSchemas
  • setDefaultInterceptorConfigurations

setDefaultAuthenticatorConfigurations

This method initialize the authentication methods. At the moment, we support only Simple authentication (ie with a password) or Anonymous authentication.

...

For information about authentication mechanisms, open this page : Authentication Mechanisms in ADS

setDefaultBootstrapSchemas

In this method, we will load all the default schemas, which are :

...

Note
titleDouble schema loading ?

It can be noted that all the default schema loaded in this section are also declared in the server.xml file. It is questionnable to load those default schema in this part, and it may be decided to remove this step in the default initialization...

setDefaultInterceptorConfigurations

Here, we will create the list of all existing interecptors. Each interceptor is an instance of the MutableInterceptorConfiguration class.

The instanciated interceptors are :

  • normalizationService
  • authenticationService
  • referralService
  • authorizationService
  • defaultAuthorizationService
  • exceptionService
  • schemaService
  • subentryService
  • operationalAttributeService
  • collectiveAttributeService
  • eventService
  • triggerService

For more informations about Interceptors, go to this page : Interceptors

Other parameters 

When this basic initialization is done, this phase is achieved by the loading of default values :

Parameter

Default value

Description

enableNetworking

TRUE

Used if we allow the server to accept network communication (if the server is embeded, it can be set to FALSE)

synchPeriodMillis

20 000 ms

Interval between each flush to the disk of modifed data. Can be set to 0 if the user wants all data to be flushed on disk as soon as they are modified, but this has a huge negative impact on performance.

ldapPort

389

Default LDAP port.

ldapsPort

686

Default LDAPS port.

ldapsCertificateFile

<basedir>/certificates/server.cert

Default certificate file storage

ldapsCertificatePassword

"changeit"

Default SSL password

enableLdaps

FALSE

LDAPS is not enabled by default

enableKerberos

FALSE

KERBEROS is not enabled by default

enableChangePassword

FALSE

ChangePW is not enabled by default

enableNtp

FALSE

NTP is not enabled by default

ldifDirectory

null

The dirctory in which ldif files will be read

[]

Launching the server