Uploaded image for project: 'Jetspeed 2 (Retired)'
  1. Jetspeed 2 (Retired)
  2. JS2-817

Cannot login with username with .

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.2, 2.1.3
    • 2.2.0
    • Security
    • None

    Description

      There is an validator for username in
      org.apache.jetspeed.security.spi.impl.ldap.AbstractLdapDao.validateUid(String)

      I need to login with username: name.surname but in the method there is a pattern for validating which contains dot.

      String pattern = ".\\(.|.\\[.|.\\{.|.\\\\.|.\\^.|.\\$.|.\\|.|.\\).|.\\?.|.\\*.|.\\+.|.
      ..
      ";

      It is possible to externalize this string to a configuration file?

      Attachments

        Activity

          People

            firevelocity Vivek Kumar
            petras Martin Petras
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: