Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 388521

Summary: Validation and unit tests for user names
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ServerAssignee: John Arthorne <john.arthorne>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: 1.0 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description John Arthorne CLA 2012-08-31 09:03:26 EDT
Need to check to ensure we have enough validation of user names at creation time. In particular:

 - User names are globally unique
 - User names only contain valid characters for a URI

And JUnit tests to assert that only valid user names are accepted.
Comment 1 John Arthorne CLA 2012-09-14 15:54:28 EDT
I decided to keep the validation simple and restrict user login to alphanumeric characters.

http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=b5101ba50577b30590f205497dedeb6d8e6a144f