Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Table of Contents |
---|
English |
---|
The LDAP Directory Manager |
...
allows you to integrate Joget with your existing AD/LDAP server. |
...
The enhanced LDAP Directory Manager implements all methods on the Joget Directory Manager class. In other words, it has been made possible to list and navigate through user, department and group entities in Joget itself. This plugin will allow you to seamlessly manage your Active Directory(AD) within Joget apps. You will achieve these once you configured this plugin.
|
Panel | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
Do not lock yourself out when you are configuring any Directory Manager plugin. Keep your browser session open and perform actual test in other machine/browser so that in case of any wrong configurations used, you can still continue to make amends |
...
. |
...
|
...
during configuration ( Admin Username (Principal) & Admin Password (Credential) ) to login as the administrator.
|
The LDAP Directory Manager has a a Debug Mode (option in the last tab) which is highly recommended to be turned on when configuring the LDAP plugin for the first time or when you are having issues. When debug mode is on, you can find all the search queries performed by the directory manager. They will all be logged into the joget.log files. From there, you can observe the search filter string and improve the accuracy and performance of the lookup. You can remove the debug checkbox once everything is running well.
User license determines how many eventual users (sorted alphabetically by username in ascending order) from your LDAP/AD who can login to Joget. Make sure that you configure the plugin accordingly.
As for the 3 users limitation with trial license, you will need to remove all the other users until your test user can be at the top 3 spot in the user list.
...
Name | Value | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
User Base DN | User Base DN
| |||||||||||||||
User Import Search Filter | (objectClass=person)
Please refer to other LDAP Search Filter syntax. | |||||||||||||||
Attribute Mapping - Username | cn | |||||||||||||||
Attribute Mapping - First Name | givenName | |||||||||||||||
Attribute Mapping - Last Name | sn | |||||||||||||||
Attribute Mapping - Email | ||||||||||||||||
Attribute Mapping - Status | ||||||||||||||||
Attribute Mapping - Time Zone | 8 | |||||||||||||||
Attribute Mapping - Locale | en_US |
...
Name | Value | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Attribute Mapping - Employee Code | ||||||||||||
Attribute Mapping - Job Title | ||||||||||||
Attribute Mapping - Report To | ||||||||||||
Map To "Report To" Entry Attribute | ||||||||||||
Attribute Mapping - Groups | ||||||||||||
Map To LDAP Group Entry Primary Attribute | dn
| |||||||||||
Attribute Mapping - Departments | ||||||||||||
Map To LDAP Department Entry Primary Attribute | dn | |||||||||||
Attribute Mapping - Grade | ||||||||||||
Map To LDAP Grade Entry Primary Attribute | dn | |||||||||||
Attribute Mapping - Metas | Additional attributes to retrieve using #user.USERNAME.meta.KEY# or #currentUser.meta.KEY#
|
...
Name | Value |
---|---|
Admin Role Base DN | |
Admin Role Import Search Filter | (&(objectClass=person)(cn=admin)) Please refer to other LDAP Search Filter syntax. |
Attribute Mapping - Users | cn |
Map To LDAP User Entry Primary Attribute | dn |
Mapping admin_role from your LDAP is as follows:
1. Create a new organizational unit in your LDAP. For example, the new "ou" is "ou=adminrole,dc=example,dc=org".
2. Create "cn" entries of usernames who have the admin role in Joget. The usernames must exist in your users "ou=people,dc=example,dc=org" property.
3. In Joget LDAP Directory Manager configuration, set the properties accordingly.
Below is an example but it will differ from everyone else because each organization's LDAP is different:
4. Open incognito mode in your favorite browser and log in to Joget to test the new username with the admin role. Leave your main browser open in "Configure LDAP Directory Manager" in case you need to make some changes.
5. Go to "Setup User" and click on your test username to view the user profile information. You should see "Role(s): ROLE_USER, ROLE_ADMIN".
6. Enable "Debug Mode" to check for errors, below shows the correct setting:
Code Block INFO org.joget.plugin.ldap.DirectoryManagerLDAPImpl - URL: ldap://localhost:389__Admin Username: cn=admin,dc=example,dc=org__Root DN: dc=example,dc=org__User Base DN: ou=people,dc=example,dc=org__Group Base DN: __Department Base DN: __Grade Base DN: __Role Admin Base DN: ou=adminrole,dc=example,dc=org
You have to keep trying various configurations until you succeed
Figure 8: Advance Properties
Name | Value |
---|---|
Result Size Per Paged Search | 100 |
Debug Mode | Click checkbox to enable helpful debugging messages in your Joget logs. |
...
Sync LDAP User Directory Manager