Changes between Initial Version and Version 3 of Ticket #2401


Ignore:
Timestamp:
04/09/10 19:36:26 (15 years ago)
Author:
mira
Comment:

There should be a validation of the provided user-name in registration. It would be good idea for them to contain only save for location names symbols since they are going to be used for ResourceRefR4. The validation should be using a common method from the RequestHandlerUtil.

The getSession() method should check if the smtp host, mail or password are null and provide the user with a message. The change of the pasword should be done last after the message is send. This way if for some reason the message is not send the password will not be changed.

The email should be validated by a pattern matcher ".+@.+
.[a-z]+".

Change the getTitle method of the UserH to use the user-name of the user if there is no screen name set. This could be extracted since it is the last part of the resource ref to the user.

There are two messages that require arguments - for invalid user and invalid email. They should be added with additional argument.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2401

    • Property Status changed from new to s2b_design_finished
    • Property Design_owners changed from to mira
  • TabularUnified Ticket #2401 – Description

    initial v3  
    22 * The registration of a username that contains some special symbols like '/' throws an exception. 
    33 * The forgotten password functionality throws an exception if the server is not correctly configured. 
     4 * The password should not be changed if the email could not be send by some reason. 
    45 * The email should be validated by a regex - ".+@.+\\.[a-z]+" 
    56 * If there is no specified screen name, the user should be referred to by his/her user-name (not email).