This widget provides user list from LDAP V3 directory service. This implementation is based on Java LDAP library. This widget looks exactly like Liferay UserData Widget.
Attribute name |
Type |
Required |
Default value |
Description |
bpmVariableName |
String |
True |
- |
The name of the variabe that should be used to bind the result. |
descriptionAttr |
String |
False |
cn |
LDAP entry attribute used to obtain user description. If no attribute is given or the attribute does not exist, loginAttr will be used as description. |
ip |
String |
True |
- |
LDAP server ip. |
loginAttr |
String |
False |
uid |
LDAP entry attribute used to obtain user login. |
loginDN |
String |
True |
- |
LDAP server user login. |
password |
String |
True |
- |
LDAP server user password. |
port |
Integer |
True |
- |
LDAP server port. |
required |
Boolean |
False |
False |
If set to true, one will be required to select user from the list. |
roleInProcess |
String |
True |
- |
Role in process to which the selected user should be assigned. |
searchBase |
String |
False |
- |
The base distinguished name to search from. |
searchFilter |
String |
False |
(objectClass=inetOrgPerson) |
The search filter specifying the search criteria. |
Permission name |
Description |
EDIT |
If one does not have this permission this widget will be displayed as read only. |
<config.ProcessStateWidget className="LdapUserData" priority="10">
<permissions>
<config.ProcessStateWidgetPermission priviledgeName="EDIT" roleName=".*"/>
</permissions>
<attributes>
<config.ProcessStateWidgetAttribute name="bpmVariableName" value="myVar"/>
<config.ProcessStateWidgetAttribute name="roleInProcess" value="owner"/>
<config.ProcessStateWidgetAttribute name="ip" value="127.0.0.1"/>
<config.ProcessStateWidgetAttribute name="port" value="389"/>
<config.ProcessStateWidgetAttribute name="loginDN" value="admin"/>
<config.ProcessStateWidgetAttribute name="password" value="admin"/>
<config.ProcessStateWidgetAttribute name="caption" value="Analyst"/>
<config.ProcessStateWidgetAttribute name="required" value="false"/>
<config.ProcessStateWidgetAttribute name="comment" value="This widget does nothing, except showing
us integration with LDAP - fetching users list. The select user's login will be available
to the BPM engine."/>
</attributes>
</config.ProcessStateWidget>