org.silverpeas.ldap
Annotation Type CreateLdapServer


@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface CreateLdapServer

Annotation to configure an OpenDJ server to be embedded in a test.

Author:
ehugonnet

Required Element Summary
 String ldifFile
          The ldif file to be loaded into the server.
 
Optional Element Summary
 String backendID
          The backendID of the backend where the ldif will be loaded.
 String baseDN
          The backendID of the backend where the ldif will be loaded.
 String ldifConfig
          The configurtion ldif file.
 String serverHome
          The directory containing the OpenDJ configuration and schemas.
 

Element Detail

ldifFile

public abstract String ldifFile
The ldif file to be loaded into the server.

Returns:
ldif file to be loaded into the server.

ldifConfig

public abstract String ldifConfig
The configurtion ldif file.

Returns:
configurtion ldif file.
Default:
"config.ldif"

serverHome

public abstract String serverHome
The directory containing the OpenDJ configuration and schemas.

Returns:
directory containing the OpenDJ configuration and schemas.
Default:
"opendj"

backendID

public abstract String backendID
The backendID of the backend where the ldif will be loaded.

Returns:
backendId of the backend where the ldif will be loaded.
Default:
"silverpeas"

baseDN

public abstract String baseDN
The backendID of the backend where the ldif will be loaded.

Returns:
backendId of the backend where the ldif will be loaded.
Default:
"dc=silverpeas,dc=org"


Copyright © 2016 Silverpeas. All Rights Reserved.