glassfish
  1. glassfish
  2. GLASSFISH-7134

check for non-alphanumeric characters not working

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: V3
    • Fix Version/s: 4.0_b82_EE7MS7
    • Component/s: docs
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      7,134

      Description

      In the Admin Console you can add users to a File Realm in the following screen:
      Configuration> Security> Realms> file "New File Realm User"

      The User ID has the following comment:
      Name of a user to be granted access to this realm; name can be up to
      255 characters, must contain only alphanumeric, underscore, dash, or dot
      characters

      If I include other symbols ('+', etc.) I get an error message ("Invalid
      characters in name: abc+3.")
      It is my understanding that "alphanumeric" does not include multibyte
      (like Japanese) characters. But when I include Japanese characters in the User
      ID, they are accepted without error.

      If multibyte characters are supported the comment should be improved. If the
      comment is correct and they are not supported, the validation logic could be
      improved.

        Activity

        Hide
        Tom Mueller added a comment -

        Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.

        Show
        Tom Mueller added a comment - Bulk update to change fix version to "not determined" for all issues still open but with a fix version for a released version.
        Hide
        Anissa Lam added a comment -

        Transfer to docs to ensure the help text is correct.

        Show
        Anissa Lam added a comment - Transfer to docs to ensure the help text is correct.
        Hide
        Mike Fitch added a comment -

        From Description: "If multibyte characters are supported the comment should be improved. If the comment is correct and they are not supported, the validation logic could be improved."

        Anissa, are multibyte characters supported?

        Show
        Mike Fitch added a comment - From Description: "If multibyte characters are supported the comment should be improved. If the comment is correct and they are not supported, the validation logic could be improved." Anissa, are multibyte characters supported?
        Hide
        Mike Fitch added a comment -

        Changing Component to admin_gui so Anissa sees this issue.

        Anissa can you please confirm whether or not multibyte characters are supposed to be supported?

        Show
        Mike Fitch added a comment - Changing Component to admin_gui so Anissa sees this issue. Anissa can you please confirm whether or not multibyte characters are supposed to be supported?
        Hide
        Anissa Lam added a comment -

        I have tried and multibyte char is supported for user name in file realm.
        CLI is able to handle that. But console cannot.
        I have filed http://java.net/jira/browse/GLASSFISH-20063 for that.

        Go ahead to change the help to whatever see fits, although i don't think we need to mention mulit-byte char in inline help.

        Show
        Anissa Lam added a comment - I have tried and multibyte char is supported for user name in file realm. CLI is able to handle that. But console cannot. I have filed http://java.net/jira/browse/GLASSFISH-20063 for that. Go ahead to change the help to whatever see fits, although i don't think we need to mention mulit-byte char in inline help.
        Hide
        Mike Fitch added a comment -

        Updated common's Strings.properties as follows:

        manageUsers.UserIDHelp=Name can be up to 255 characters, must contain only letters, digits, underscore, dash, or dot characters

        Thus, the inline help does not use the word "alphanumeric", and the word "letters" can be interpreted to include multibyte characters.

        Committed in svn revision 60859

        Show
        Mike Fitch added a comment - Updated common's Strings.properties as follows: manageUsers.UserIDHelp=Name can be up to 255 characters, must contain only letters, digits, underscore, dash, or dot characters Thus, the inline help does not use the word "alphanumeric", and the word "letters" can be interpreted to include multibyte characters. Committed in svn revision 60859

          People

          • Assignee:
            Mike Fitch
            Reporter:
            Dies Koper
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: