Active Driectory integration
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2014 12:22 PM
Hi Guys,
I'm new with Activiti and I'm trying to setup Activiti Explorer to use LDAP authentication via Active Directory. I've gotten it to the point where it connects to AD but I'm getting the following error.
10:44:10,333 [http-9090-Processor25] INFO org.activiti.ldap.LDAPUserManager - Could not authenticate user Test: Unprocessed Continuation Reference(s) javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'DC=corp,DC=test,DC=com'
….
When searching the forum, it was mentioned that the solution is to set Context.REFERRAL to "follow" in InitialDirContext.
I'm not sure if I'm doing that correct or not. I tried to set it the following way but I'm still getting the error.
<blockcode>
<property name="groupIdAttribute" value="cn" />
<property name="groupNameAttribute" value="cn" />
<property name="customConnectionParameters">
<map>
<entry key="Context.REFERRAL" value="follow" />
</map>
</property>
</blockcode>
Can someone please let me know how to set the customConnectionParameters for that? I've been trying to figure it out but I'm not getting it.
Thanks,
Brian
I'm new with Activiti and I'm trying to setup Activiti Explorer to use LDAP authentication via Active Directory. I've gotten it to the point where it connects to AD but I'm getting the following error.
10:44:10,333 [http-9090-Processor25] INFO org.activiti.ldap.LDAPUserManager - Could not authenticate user Test: Unprocessed Continuation Reference(s) javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'DC=corp,DC=test,DC=com'
….
When searching the forum, it was mentioned that the solution is to set Context.REFERRAL to "follow" in InitialDirContext.
I'm not sure if I'm doing that correct or not. I tried to set it the following way but I'm still getting the error.
<blockcode>
<property name="groupIdAttribute" value="cn" />
<property name="groupNameAttribute" value="cn" />
<property name="customConnectionParameters">
<map>
<entry key="Context.REFERRAL" value="follow" />
</map>
</property>
</blockcode>
Can someone please let me know how to set the customConnectionParameters for that? I've been trying to figure it out but I'm not getting it.
Thanks,
Brian
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2014 04:35 PM
Figured it out. I was setting the customConnectionParameters correctly but I was setting the baseDN at too high and that was causing it to go through too many records. When I scoped the baseDN correctly, that resolved the issue.
Thanks,
Brian
Thanks,
Brian
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-05-2014 04:35 PM
Figured it out. I was setting the customConnectionParameters correctly but I was setting the baseDN at too high and that was causing it to go through too many records. When I scoped the baseDN correctly, that resolved the issue.
Thanks,
Brian
Thanks,
Brian
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-06-2014 06:17 AM
Thanks for posting back. Glad it works!
