cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP Config: Not sure if groupNameAttribute is getting populated properly

maxbaba
Champ in-the-making
Champ in-the-making
Hi - I have the following set-up in activiti-custom-context.xml:
———————————————————————————
<property name="queryGroupsForUser" value="(&amp;(objectclass=groupOfUniqueNames)
(uniqueMember=uid={0},cn=People,ou=Internal,o=mfc)
(ecommerceappaccess=MyAdminUsers))" />
…..
<property name="groupNameAttribute" value="ecommerceappaccess" />
…..
———————————————————————————
#####################################
Here is the entry in activiti-ui-context.xml:
#####################################
<property name="adminGroups">
   <list>
      <value>MyAdminUsers</value>
   </list>
    </property>
<property name="userGroups">
   <list>
      <value>MyUsers</value>
   </list>
</property>
#####################################

For some reason "groupNameAttribute" is not getting the VALUE SET in the attribute "ecommerceappaccess", returned from LDAP search.

The value of "ecommerceappaccess" from the above config in theory should be 'MyAdminUsers'.

Any help is much appreciated. Thank you.
1 REPLY 1

maxbaba
Champ in-the-making
Champ in-the-making
#####################################
set-up in activiti-custom-context.xml:
#####################################

<property name="queryGroupsForUser" value="(&amp;(objectclass=groupOfUniqueNames)
(uniqueMember=uid={0},cn=People,ou=Internal,o=mfc)
(ecommerceappaccess=MyAdminUsers))" />

<property name="groupNameAttribute" value="ecommerceappaccess" />

#######################################
Here is the entry in activiti-ui-context.xml:
#######################################

<property name="adminGroups">
<list>
  <value>MyAdminUsers</value>
</list>
    </property>
    <property name="userGroups">
<list>
  <value>MyUsers</value>
</list>
    </property>
#####################################

For some reason "groupNameAttribute" is not getting the value set in the attribute "ecommerceappaccess".

The value of "ecommerceappaccess" from the above config in theory should be 'MyAdminUsers'.

Any help is much appreciated. Thank you.
################################################################################################