LDAP Query results [getUser_Error] [B cannot be cast to java.lang.String Exception

Document created by Ramya_Nakkapalle Employee on May 18, 2016
Version 1Show Document
  • View in full screen mode

Issue

 

LDAP Connector Query Operation may return below error. If it does, check the data type of the profile elements. Most likely at least one element/attribute is of Binary/Octet type.

[getUser_Error] [B cannot be cast to java.lang.String

Workaround

 

To work around the issue,

 

1. Identify the attribute that is either Binary or Octet type

2. Modify LDAP properties file, rename the attribute name as o_attributename

    e.g. objectEG to o_objectEG

3. Re-import the profile in Connector Operation and Save.

Attachments

    Outcomes