LDAP authentication

<< Click to Display Table of Contents >>

Navigation:  Identity and access management >

LDAP authentication

Overview

Automation Service supports integrating with on-premises Identity managers such as LDAP Servers (i.e. Microsoft Active Directory), via a VPN configuration.

For introductory information about authentication options in Bizagi, refer to Identity and Access Management.

 

When using LDAP Authentication in Bizagi, credentials entered in the login page (username, password and domain) are sent to an LDAP Server for verification.

Once the server verifies the user account (which must already have been created in Bizagi) and grants access, login is successful.

 

Cloud_LDAP

 

With this authentication type, passwords are never stored in Bizagi and you are autonomous to rely on your LDAP Server for adequate account configuration and password policies.

 

 

Before you start

You need to set up a VPN for this type of authentication.

For details and requirements about this first step, refer to VPN setup.

 

What you need to do

Once a VPN is set up, follow these steps to configure LDAP authentication:

 

1. Configure the authentication type in Bizagi Studio.

2. Synchronize the users from your LDAP into your Automation Service service.

 

Configuration procedure

By default, Bizagi Studio projects use Bizagi Authentication, so the first step is changing this setting.

 

1. Configure the authentication type in Bizagi Studio.

You will need technical details from your LDAP system.

 

1.1 Open your Bizagi Studio project

Open Bizagi Studio and load your project (development environment).

 

Cloud_OpenProj

 

1.2 Go to the security settings.

Click the Expert view and select the Security module.

 

Cloud_SecurityModule

 

Click Authentication in the middle panel, and make sure that the drop-down list at the rightmost panel shows LDAP as a security option. Click Update to refresh the list:

 

Authentication_LDAP

 

Once you choose LDAP, sub-items for Authentication display.

Configure these parameters to finish the details and connection settings.

 

LDAP URL: Corresponds to the path used to access the LDAP Server (using the LDAP URI format).

Input LDAP://.. with the LDAP prefix in capital letters.

 

Cloud_LDAP2

 

Use settings in LDAP synchronization: This applies if you have configured Bizagi to synchronize your Active Directory users into Bizagi (as described in the following step).

oTurn this option on, to use the same LDAP URL and settings from the LDAP synchronization settings.

oWhen this option is on, the value of the former option will be ignored.

 

Authentication_and_Security2_Image029

 

2. Synchronize the users from your LDAP into your Automation Service service.

It is your responsibility to manage users, and therefore you also need to synchronize users from your LDAP into Automation Service.

To both set up and test the LDAP synchronization in your project, follow these steps:

 

2.1. Enter the connection and import settings.

This initial configuration is done on the Basic configuration tab.

 

To do this, first enable the LDAP synchronization by marking the Enabled checkbox.

Then, make sure you fill out both the connection and import settings as described below:

 

 

SETTING

 

 

DESCRIPTION

 

Connection

LDAP URL

Specify the URL path to access the LDAP server (LDAP URL format).

Domain/username

Specify a username and its domain, to be used as the authenticated user performing the synchronization.

The user needs read access to these definitions.

Password

Specify the password for the domain's username used as the authenticated user performing the synchronization.

Synchronization hour

Define an hour of the day that the Scheduler will perform LDAP synchronization.

Allowed values for this field are 0 to 23.

Import settings

Filter

Provide a filter to import only the proper accounts into your project (according to an LDAP attribute criteria).

We strongly recommend using and setting a filtering condition to import the proper set of users (especially when testing the configuration).

Domain

Specify the domain name to which the users will be registered in Bizagi's user entity (WFUser).

User account identifier

Choose the LDAP attribute that identifies in a UNIQUE manner each account. For example, sAMAccountName is the common LDAP attribute corresponding to a user's account name.

 

LDAP01

 

 

note_pin

You can define the connection and all relevant LDAP import settings separately for each of your environments (Development, Test and Production).

 

An initial deployment will publish this configuration to each environment. From then on, changes to the LDAP import settings need to be managed separately for each environment.

 

2.2. Specifying attribute mappings.

On the next tab, Attribute mappings, add the necessary mappings for your WFUser attributes (the name of the table storing user's identifiers in Bizagi).

Click the Add Mapping button. Select attributes from the WFUser Entity and match them to an LDAP attribute. LDAP attributes have the following incoming information:

 

LDAP02

 

This example shows mapping the mail and name attributes, as these two are explicitly required in Bizagi (contactEmail and fullName).

 

2.3. Define default values (if any).

On the next tab, Default values, add any necessary default values for your WFUser attributes.

Click the Add Default value button, and then, select attributes from the WFUser Entity and assign values to them.

 

LDAP03

 

note_pin

Do not set the enabled attribute to true for all users before confirming that is the correct set of users to import and synchronize.

 

2.4. Test and save your configuration.

Once you have finished your configuration, click the Test button to see your synchronization results.

Note that this can take a while if you have a large number of users and it is, therefore, recommended that you use the filter setting mentioned in step 2.1.

 

The synchronization results appear in the Test results tab.

 

LDAP04

 

note_pin

Testing the configuration does not imply that an immediate synchronization is made into Bizagi.

This is only for testing purposes. The list of users displayed is not automatically updated (this happens as scheduled task later on).

 

Finally, save your configuration.

 

LDAPSave

 

 

note_pin

When synchronizing your users, if a user is no longer found on the LDAP server, Bizagi will disable (but not delete) that user in its import.