wiki:S2S_WEB_USER_RELATED_R0

Version 5 (modified by meddle, 16 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=S2S_WEB_USER_RELATED_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

Analysis

Overview

This task is connected to the user part of the web server. It includes user registration, creation of user profile and the change to edit it.

Task requirements

  • depends on S2S_WEB_COMMONS_R1
  • there should be created a working registration link and page
  • the home page should be changed from login user to welcome user page
  • the user profile page should be created and added in the navigation menu
  • the user must have the chance to edit his/her profile
  • there is no need to be beautiful, the important part is to communicate correctly with the database and show the results as JSPs.

Task result

Pages and links about:

  • user registration
  • user profile(or username's profile)
  • editing profile

Implementation idea

  • Use the service package and its user and group classes for managing the users.
  • Create servlets in webapp package to handle the information from the new jsps.

S2S_WEB_COMMONS_R0
S2S_WEB_COMMONS_R1
S2S_DEPLOY_TECHNOLOGIES_R0
S2S_PERSISTENCE_COMMONS_R0
S2S_CORE_SECURITY_R0

How to demo

  • register a user
  • show the new user pages

Design

The user related content at that stage will consist of four jsp pages. register.jsp, index.jsp (home page), edit_profile.jsp and one additional page that will not function for now lost_password.jsp. There will be also some servlets working like redirectorers and action executors between the jsps. These servlets for now will be RegisterSrvlet and ProfileEditorServlet.

  • The register.jsp page will have form containing all of the user fields + some additional The fields are :
    • Field for the username of the new user.
    • Two fields for the password one to type it and one to type it again to be sure.
    • Two fields for the email address one to type it and one to retype it for sure.
    • For the optional fields affiliation, about_me, full name, website there will be entries too.
    • For the photo, there will be only text field for outer url for now, but in the future users will be able to upload photos for themselves.

Implementation

(Implementation results should be described and linked here (from the wiki or the repository))

Testing

Comments

(Write comments for this or later revisions here.)