Uploaded image for project: 'JTalks Common'
  1. JTalks Common
  2. JTALKSCOMMON-80

The problem with validation of user's password.

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: common 0.11
    • Fix Version/s: common 0.11
    • Labels:
      None

      Description

      User passwords are encrypted using the mechanism of MD5, so hash of password will be stored in the database.
      The hash of password is much more than 25 characters and we need to change the restrictions on the password in the "User" entity.

        Attachments

          Structure

            Activity

            Hide
            shogun Anuar Nurmakanov added a comment -

            An MD5 hash is typically expressed as a 32-digit hexadecimal number.

            Show
            shogun Anuar Nurmakanov added a comment - An MD5 hash is typically expressed as a 32-digit hexadecimal number.
            Hide
            shogun Anuar Nurmakanov added a comment -

            Entity - org.jtalks.common.model.entity.User.

            @Length(min = USER_PASSWORD_MIN_LENGTH, max = USER_PASSWORD_MAX_LENGTH, message = USER_PASSWORD_ILLEGAL_LENGTH)
            private String password;

            Show
            shogun Anuar Nurmakanov added a comment - Entity - org.jtalks.common.model.entity.User. @Length(min = USER_PASSWORD_MIN_LENGTH, max = USER_PASSWORD_MAX_LENGTH, message = USER_PASSWORD_ILLEGAL_LENGTH) private String password;
            Hide
            ancient_mariner Alex Lysak added a comment - - edited

            changed to 50

            Show
            ancient_mariner Alex Lysak added a comment - - edited changed to 50

              People

              • Assignee:
                ancient_mariner Alex Lysak
                Reporter:
                shogun Anuar Nurmakanov
              • Votes:
                0 Vote for this issue
                Watchers:
                Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 0h
                  0h
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.2h
                  0.2h

                    Structure Helper Panel