Creating an LDAP Connection
After creating a project, you add an LDAP Connection shared resource to create a connection between the plug-in and an LDAP server.
Before you begin The LDAP Connection shared resource is available at the
Resources level. Ensure that you have created a project, as described in
Creating a Project.
- Procedure
- Expand the created project in the Project Explorer view.
- Right-click the Resources folder and click to open the LDAP Connection wizard.
- The resource folder, package name, and resource name of the LDAP connection are provided by default. If you do not want to use the default configurations, change them accordingly. Click Finish to open the LDAP Connection editor.
- From the Server Type list, select the type of the LDAP server that the plug-in connects to.
- In the Server Name field, enter the IP address or server name of the machine where the LDAP sever that the plug-in connects to is running.
- In the LDAP Port field, enter the port number to communicate with the LDAP server.
- In the
Authentication Mode field, select an authentication mode from the following options:
Simple: the user credential used to access the selected LDAP server is required.
If you select the Simple authentication mode, the Authentication check box is automatically selected and an Identity Provider field is displayed.
Click
to select the Identity Provider resource that contains the user name and password used to log in to the selected LDAP server. See Creating an Identity Provider Resource to create an Identity Provider resource for use.
Anonymous: no user credential is required.External: this option is available only when you select the Use TLS check box. Select the external mode to enable the two-way TLS authentication. - If you select the
Use TLS check box, click
next to the SSL Client Configuration field to select an SSL Client Configuration resource.
An SSL Client Configuration resource contains the client information to be authenticated by the LDAP server.See Configuring TLS for more details.
- In the LDAP Reconnection for Runtime Configuration panel, change the reconnection settings.
- Click Test Connection to validate the connection.
Subtopics