Uploaded image for project: 'Apache Roller'
  1. Apache Roller
  2. ROL-1611

CustomUserRegistry using wrong LDAP value for username

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 5.0
    • User Management
    • None
    • Sun App Platform

    Description

      From Shing Wai Chan:

      Around line 88 of CustomUserRegistry.java, we have

      // Try to get SSO data from HttpServletRequest
      userName = getRequestAttribute(request,
      WebloggerConfig.getProperty(
      UID_LDAP_PROPERTY, DEFAULT_SNAME_LDAP_ATTRIBUTE));

      I think there is a typo here.
      It should be
      // Try to get SSO data from HttpServletRequest
      userName = getRequestAttribute(request,
      WebloggerConfig.getProperty(
      UID_LDAP_PROPERTY, DEFAULT_UID_LDAP_ATTRIBUTE));

      Note that we should have DEFAULT_UID_LDAP_ATTRIBUTE rather than
      DEFAULT_SNAME_LDAP_ATTRIBUTE.

      Attachments

        Activity

          People

            gangolli Anil R. Gangolli
            djohnson David Johnson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: