Posts tagged "AuthenticationManagerImpl"

LiveCycle ES: AuthenticationManagerImpl errorCode:16386 errorCodeHEX:0x4002

Issue

The following exception occurs when you were running custom Java code to interact with Adobe LiveCycle 7 Workflow using LDAP lookups and migrate to LiveCycle ES:

[04 Mar 2010 10:32:27, 058] ERROR (WorklistController.java:66) - java.lang.Exception: | 
[com.adobe.idp.um.api.impl.AuthenticationManagerImpl] errorCode:16386 errorCodeHEX:0x4002 message:
user_identifier:myuniqueid=XXXXXXXX,ou=people,dc=company,dc=com domain:LDAP Production| 
[com.adobe.idp.um.businesslogic.directoryservices.DirectoryServicesManagerBean] errorCode:13316 errorCodeHEX:0x3404 message:
user_identifier:myuniqueid=XXXXXXXX,ou=people,dc=company,dc=com domain:LDAP Production
com.pictet.livecycleworkflow.restservices.client.exceptions.ResourceOperationException: java.lang.Exception: | 
[com.adobe.idp.um.api.impl.AuthenticationManagerImpl] errorCode:16386 errorCodeHEX:0x4002 message:
user_identifier:myuniqueid=XXXXXXXX,ou=people,dc=company,dc=com domain:LDAP Production| 
[com.adobe.idp.um.businesslogic.directoryservices.DirectoryServicesManagerBean] errorCode:13316 errorCodeHEX:0x3404 message:
user_identifier:myuniqueid=XXXXXXXX,ou=people,dc=company,dc=com domain:LDAP Production
 at com.company.livecycleworkflow.restservices.client.impl.AbstractLiveCycleWorkflowRestServiceClient.sendRequest(AbstractLiveCycleWorkflowRestServiceClient.java:92)
 at com.company.livecycleworkflow.restservices.client.impl.AbstractLiveCycleWorkflowRestServiceClient.readRestUrl(AbstractLiveCycleWorkflowRestServiceClient.java:100)
 at com.company.livecycleworkflow.restservices.client.impl.LiveCycleWorkflowRestServiceClientImpl.getActivities(LiveCycleWorkflowRestServiceClientImpl.java:47)
 at com.company.livecycleworkflow.restservices.client.impl.LiveCycleWorkflowRestServiceClientImpl.getActivities(LiveCycleWorkflowRestServiceClientImpl.java:40)
 at com.company.managerscomments.controller.WorklistController.handleRequestInternal(WorklistController.java:54)
 at org.springframework.web.servlet.mvc.AbstractController.handleRequest(AbstractController.java:153)
 at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44)
 at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:723)
 at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:663)
 at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:394)
 at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:348)

The method that throws this error is: authResult = auth.getAuthResultOnBehalfOfUser(“myuniqueid=XXXXXXXX, ou=people”, “LDAP Production”, context).

Reason

This exception occurs when you don’t use the same user DN in the Java code as is stored in LDAP and in the LiveCycle database.

For example, the myuniqueID in the EDCPRINCIPALENTITY table is:

myuniqueid=XXXXXXXX,ou=People,dc=company,dc=com

and in the Java code it’s:

myuniqueid=XXXXXXXX,ou=people,dc=company,dc=com

The ou has a capital “P” in LDAP and in the DB, but in the Java code, it was attempting to find the user with a lowercase “p” for the ou. This error can occur in LiveCycle ES as Adobe changed the LDAP synchronization algorithm to canonicalize the DN strings during synchronization. As a result, the DN strings appear in the DB exactly as they are defined in LDAP (including case-sensitivity).

Solution

Make sure that you are using exactly the same user DN in the Java code as it is stored in LDAP and in the LiveCycle database.

reference: (181473688)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)