Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section


Column
width0px

It is possible to create user and groups in

Frevvoproduct
and use them to control access to the system as well as create workflows. It is also common that the list of users and groups is maintained externally in systems such as Active Directory or Open LDAP.
Frevvoproduct
 can leverage your existing users repository.

 There are two configuration scenarios when integrating

Frevvoproduct
with LDAP
Frevvoproduct
can be configured to integrate with your existing LDAP Active Directory server to authenticate users. There are two configuration options. Each one uses a different Security Manager.

Frevvoproduct
integrates with

The first option is to use the 

Frevvoproduct
LDAP Security Manager. Here the authentication is handed off to an external LDAP/AD system

and is in full control of user authentications. Use the LDAP Security Manager in this situation. Click here for the configuration details.
Image Removed
 
Frevvoproduct

.

 Image Added
 

The second option is to use the

Frevvoproduct
 LDAP Container Security Manager. Here the 
Frevvoproduct
server
is deployed to an existing servlet container that is already handling user authentications through LDAP. Authentication, in this case, is the responsibility of

the container. However,
Frevvoproduct
is responsible for runtime authorization and design time querying of user metadata. Use the LDAP Container Security Manager in this situation as that reuses the existing LDAP connector but relies on

the container

for user authentications

.

Click here for the configuration details.



Image Modified


This section explains how to integrate

Frevvoproduct
with LDAP systems using the LDAP Security Manager. Configuration information for the LDAP Container Security Manager can be found here.

It is assumed that you already went through Live Form's installation instructions and have Live Forms running. LDAP Connectivity is available in the

Frevvoproduct
stylefont-weight:bold
in-house only and not offered as part of our SaaS packages.

info


Safari browsers later than v5.1.7 running on Windows is no longer supported. Issues were found when using Safari with LDAP - SSO.

Column
width240px300px

On This Page:

Table of Contents
maxLevel1

...

Retrieving Custom Attributes from the LDAP

...

Frevvoproduct

...

Server

When a user is successfully authenticated by the LDAP security manager,

Frevvoproduct
 retrieves the following basic user information from the LDAP server: 

Last Name
First Name
Email address 

Using a business rule, you can populate controls in your form with this information. 

 Image Added

There are many attributes available in Active Directory. View  this website for  for a partial list.  Multi Single and multi-value attributes are also supported. This feature works if you are using an LDAP or supported. Active Directory custom attributes can be retrieved for users in a 

Frevvoproduct
 tenant using the LDAP Security Manager or the LDAP Container Security Manager configuration.  

Configure Retrievable Attributes 

Single-value Attributes

Frevvoproduct
will automatically pull the logged in user's First Name, Last Name, Email from Active Directory. The designer can use built-in methods in a rule to populate controls on a form. For example, the business rule shown fills the respective form fields with the First/Last Names and Email Address of the logged in user.

Section
Column
width50%
Code Block
if(form.load)
{
EmployeeEmail.value=_data.getParameter('subject.email');
FirstName.value=_data.getParameter('subject.first.name');
LastName.value=_data.getParameter('subject.last.name');
}
Column
width50%

Image Removed

 

You can retrieve additional custom attribute information from the LDAP server using the configuration parameter "com.frevvo.security.ldap.customAttributes" and business rules.   

Configure Retrievable Attributes

Single-value Attributes

If you want to pull additional information from Active Directory into your form, you must add a context parameter to the <frevvo-home>\tomcat\conf\catalina\localhost\frevvo.xml file. The configuration parameter is "com.frevvo.security.Idapldap.customAttributes" and the value is a comma separated list of custom attribute names to be retrieved. Let's use the employee's Middle Initials Initial and Home Phone as an example. The attributes for Middle Initials Initial and Telephone Number are initials and telephoneNumber respectively. 

...

     5. Save the file after all your changes are made. Restart 

Frevvoproduct
 

Add the additional lines to the business Write a rule to populate the Middle Initials and Home Phone fields. 

Code Block
if(form.load)
{
FirstName.value=_data.getParameter('subject.givenName');
MiddleInitials.value=_data.getParameter('subject.initials');
LastName.value=_data.getParameter('subject.sn');
HomePhone.value=_data.getParameter('subject.telephoneNumber');
EmployeeEmail.value=_data.getParameter('subject.mail');
}

The image shows a simple form using the rule above to pull the Employee's First Name, Middle Initial, Last Name, Home Phone and Email Address from Active Directory on controls in your form with the firstname, lastname, email address plus the additional attributes specified in the configuration parameter. Notice the initials and the telephone number controls in the image are filled with the user information from the LDAP server.

Multi-

...

value Attributes

Attributes with more than one value are also supported. For example, The carLicense attribute can return multiple licenses. You can write a rule to populate dropdown options with those options. First of all, make the specified car license values. Make sure the carLicense attribute is configured in the frevvo.xml file and of course, there are multiple values carLicense attributes, each one containing a different value for the carLicense attribute dropdown options, set up for appropriate users on the LDAP server.  

Code Block
 <Parameter name="com.frevvo.security.ldap.customAttributes" value="initials,telephoneNumber,carLicense" override="false"/> 

A JSON array string listing multiple car licenses is returned and this rule will populate it can be used in a 

Frevvoproduct
 rule to populate the options of a dropdown control named carLicense.

...

Image Added