Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1204167

Summary: LDAPUserGroupCallbackImpl and LDAPUserInfoImpl ignore {1} argument in role filter
Product: [Retired] JBoss BPMS Platform 6 Reporter: Tomas Livora <tlivora>
Component: jBPM CoreAssignee: Alessandro Lazarotti <alazarot>
Status: CLOSED EOL QA Contact: Ivo Bek <ibek>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.1.0CC: kverlaen, lpetrovi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 20:02:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Livora 2015-03-20 13:58:52 UTC
Description of problem:
LDAPUserGroupCallbackImpl and LDAPUserInfoImpl do not replace string {1} in the role filter with userDN. Right now, they are only able to substitute {0} with username. This may cause some problems when customer utilize LDAP users to log into the Business Central and use LdapExtLoginModule to accomplish that. This module accepts also {1} parameter in the role filter and so he may expect the same behavior from the Task Service.

Version-Release number of selected component (if applicable):
6.1.0 ER6

Steps to Reproduce:
1. Configure Business Central to utilize LDAP users when working with tasks.
2. Use {1} parameter in the role filter.
3. Try to perform some task operations.

Actual results:
Nothing is done. The engine is not able to replace {1} with userDN.

Expected results:
The engine should be able to replace {1} with userDN.

Additional info:
https://developer.jboss.org/wiki/LdapExtLoginModule