Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-8919

DJLDAPv3Repo needs to escape special chars in search results.


    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.0.2, 13.0.0
    • Fix Version/s: 12.0.4, 13.5.0, 14.0.0
    • Component/s: idrepo
    • Labels:
    • Sprint:
      AM Sustaining Sprint 22
    • Support Ticket IDs:


      1. login to admin console
      2. select a realm and click "Subject" menu from left hand side
      3. click [New] button to create a new user
      4. type "test=user" in ID input field and fill in other fields as well.
      5. click [OK] button to create an user
      5-repro. you will see in "Universal Id" row of the user table that newly created user's universal ID is "User" instead of "test=user (or test=\user") and if you click that user, you will get an error saying "Error
      Identity user of type user not found"

      Since AMIdentity constructor could take dn string as "name" argument, it might be good to fix it in IdServicesImpl.

      Daemon Thread [http-bio-18080-exec-2] (Suspended (breakpoint at line 2692 in IdServicesImpl))	
      	owns: SocketWrapper<E>  (id=10175)	
      	IdCachedServicesImpl(IdServicesImpl).combineSearchResults(SSOToken, Object[][], int, IdType, String, boolean, Object[][]) line: 2692	
      	IdCachedServicesImpl(IdServicesImpl).search(SSOToken, IdType, IdSearchControl, String, CrestQuery) line: 1586	
      	IdCachedServicesImpl.search(SSOToken, IdType, IdSearchControl, String, CrestQuery) line: 623	
      	AMIdentityRepository.searchIdentities(IdType, CrestQuery, IdSearchControl) line: 379	
      	AMIdentityRepository.searchIdentities(IdType, String, IdSearchControl) line: 311	
      	EntitiesModelImpl.getEntityNames(String, String, String) line: 194	
      	EntitiesViewBean.getEntityNames() line: 235	
      	EntitiesViewBean.beginDisplay(DisplayEvent) line: 179	
      	UseViewBeanTag.doStartTag() line: 149	
      	Entities.jsp line: 35	
      	Entities_jsp(HttpJspBase).service(HttpServletRequest, HttpServletResponse) line: 70	
      	Entities_jsp(HttpServlet).service(ServletRequest, ServletResponse) line: 728	


          Issue Links



              • Assignee:
                sachiko Sachiko Wallace
                sachiko Sachiko Wallace
                QA Assignee:
                Filip Kubáň [X] (Inactive)
              • Votes:
                0 Vote for this issue
                6 Start watching this issue


                • Created: