Skip to main content
Version: 5.2.0.0

LDAP connection

Description

Environment entries of type LDAP connection are used to declare the parameters to access a directory server. They define a connection between Orchestra and a Server which uses the LDAPv3 protocol and its data structure matches the LDAP specification.

Purpose of object

It is e.g. used for channels LDAP Reader and LDAP Writer to define the parameters to access a directory server.

Configuration

ldap-connection.png ldap-connection.png

Step by Step

  1. Create an Environment entry of type LDAP connection.
  2. Select the java factory class: This class is by default the LdapCtxFactory but can also be changed to any class implementing the interface: javax.naming.spi.InitialContextFactory.
  3. Fill in the host or IP of the intended server, e.g. ldap.example.com or 192.202.185.90.
  4. The port is set by default to 389, but can be changed.
  5. Set the Timeout.
  6. Select Security Protocol: Choose whether to use the transport layer security to encrypt the transferred data.
  7. If a security protocol is selected, choose a Trusted server to connect with. Therefore, create Credentials of type trusted server and add the intended keypair.
  8. Select the mode of the security authentication.
    • simple: simple authentication
    • GSSAPI authentication: if you want to select the authentication through the Generic Security Services Application Program Interface, you first need to enable it (see Enabling GSSAPI below).

Enabling the Generic Security Services Application Program Interface (GSSAPI)

Requirements:

  • Java 2 Platform Standard Edition (J2SE) 1.4 or JNDI 1.2 with ldapbp.jar
  • Java Authentication and Authorization Service (JAAS)
  • Java Cryptography Extension (JCE)
  • an RFC 2853 compliant implementation of Java Generic Security Service (JGSS)
  • an implementation of Kerberos, version 5
  1. Open Apache Tomcat.
  2. Open the Properties configuration dialog.
  3. Add the following parameters to the Java options:

-Djava.security.auth.login.config=gssapi_jaas.conf \

-Djava.security.krb5.conf=krb5.conf \ GssExample [qop [dn]]

ParameterDescription
-Djava.security.auth.login.configIndicates which JAAS login module the application needs to use.
-Djava.security.krb5.confConfigures the Kerberos subsystem. Set the path to the Kerberos configuration file.
qopComma separated list of tokens, each of which is one of auth, auth-int, or auth-conf. If no token is supplied, the default is 'auth'.
  1. Select Apply.