Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 5 Advanced Topics : Changing the LDAP Server Connection Parameters

Changing the LDAP Server Connection Parameters
In the 5.x version of the adapter, the Run-time Connection tab was introduced. Consequently, although you can continue to use the same connection parameters for the LDAP server at design-time and runtime, you also have the option to specify different design-time and runtime connection parameters. This ensures that you can migrate from one LDAP server to another by specifying different server details in the Design-time Connection and the Runtime Connection tabs. Since the schemas are generated at design time using the server details specified in the Design-time Connection tab, the references are not broken if you change the server details in the Runtime Connection tab. However, for the adapter to work, the schemas on both the servers must be identical.
Additionally, you can specify the global variables for the server details in the Runtime Connection tab, and provide the values at runtime, using the adapter’s properties file. This allows you to migrate the project from one LDAP server to another without modifying the project file. You only need to modify the adapter’s properties file (.tra).
To specify global variables for runtime connection parameters:
1.
2.
Click the Design-time Connection tab and uncheck the Use Design-time Connection For Runtime checkbox.
3.
Click the Runtime Connection tab and specify global variables for the server details. You can provide the values for these global variables at runtime, using the adapter’s properties file.
For details on how to configure an LDAP server and specify global variables, see TIBCO ActiveMatrix Adapter for LDAP Examples.
This ensures that schema references are not broken when the runtime connection parameters of the LDAP server are changed.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved