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

Special Characters not allowed in Username in Admin Console

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 6.0.0.7, 6.5.2.2
    • Fix Version/s: None
    • Component/s: console, UI
    • Labels:
    • Environment:
      AM 6+
    • Support Ticket IDs:

      Description

      Bug description

      When using the steps in KB 
      https://backstage.forgerock.com/knowledge/kb/article/a20808300

      This no longer allows user names with special characters.

      How to reproduce the issue

      1. Run through steps with Amster or ssoadm from KB 
        https://backstage.forgerock.com/knowledge/kb/article/a20808300
      2. Try to create a user with / as the first letter of their name
      3. The admin UI will warn you it's not allowed.
      Expected behaviour
      The username restrictions should have been lifted as they were in previous AM versions.
      Current behaviour
      Admin UI warns that usernames:

      Must not start with the # or " characters

      Must not start or end with the space character

      Must not contain the \, /, +, ;, ,, %, [, ], | or ? characters

      Must not be . or ..

      Work around

      Register user via REST 

      Code analysis

      https://bugster.forgerock.org/jira/browse/AME-15553

      Contains some changes to Datastore validation

      openam-ui/openam-ui-ria/src/main/js/components/form/fields/HtmlFormattedHelpBlock.jsx
      See Lines 13 and 14. 

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              william.hepler William Hepler
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: