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

DNMapper.realmNameToAMSDKName logic adding extra = when checking against orgAttr

    Details

    • Support Ticket IDs:

      Description

      If the DNMapper.realmNameToAMSDKName () is called and gets to the logic to check against orgAttr this seems flawed.

      In user case orgAttr= `o=`

      This would skip the following check as ORGANIZATION_RDN = `o`

      if (orgAttr == null || orgAttr.equalsIgnoreCase(SMSEntry.ORGANIZATION_RDN)
      

      and in subsequent replace an extra '=' is added so

      o=atest,ou=services,dc=openam

      is returned as

      o==atest,dc=openam

        Attachments

          Activity

            People

            • Assignee:
              jonthomas Jonathan Thomas
              Reporter:
              jonthomas Jonathan Thomas
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: