Implement security so that all users can view the informatio

Assignment Help JAVA Programming
Reference no: EM131516

1. Security.

Implement security so that all users can view the information about the projects, but only authenticated users (i.e. users who have already logged in) can create and sponsor projects. In particular, your implementation must meet the following requirements:

• Whenever a user tries to create or sponsor a project, the application should first check whether the user is already logged in. If not, the user should be redirected to a login page where they must provide a valid username and the corresponding password.

• User authentication must happen on the server side, i.e. you cannot use JavaScript to validate username/password on the client side.

• Once a user is authenticated, a session is created so the user won't be asked for username and password repeatedly. A user may choose to log out, in which case the session should be terminated. For session tracking, you must use Servlet Session Tracking API.

• Two user accounts should be pre-created for testing purposes:

  1. Username cysun and password abcd
  2. Userrname cs320stu31 with password abcd

Note that a few changes must be made to the user interface as part of the security implementation:

• A Login/logout link should be shown on each page. The link should show Login if the user has not logged in yet, and Logout if the user is already logged in.

• After a user logs in (or logs out), the user should be redirected to the Project List page.

• The name of the user is no longer needed when a user creates a project, because the user would have already logged in and the server should keep track who the user is.

2. Sponsor A Project

A link Sponsor This Project should be shown on the Project page. When a user clicks on the link, the application shows a form where the user can enter a dollar amount and select a reward. Note that

• A user can only sponsor a project once. After a user sponsors a project, the Sponsor This Project link will no longer be shown to that user.

• The Project List page should be change to show the funding progress of the projects. In particular, two columns Percentage Funded and Amount Pledged should be added to the display.

 

 

Reference no: EM131516

Questions Cloud

Implement the relative addressing mode : Write an optimal sequence of control microinstruction
Difference between the cv and the ev : The change in consumer surplus (?CS) is not "theoretically" justifiable like the CV and EV but it continues to be the most widely used measure of consumer welfare change. Explain how this can be reconciled
Write a program using vectors and iterators : Create a program that uses at least two functions that will be called from your main. This program is a number game program that asks for parts of your phone and after manipulating it mathematically, eventually outputs your entire phone number. The d..
Economic profit in the short run bot : Why does rent control result in a shortage of rental units.
Implement security so that all users can view the informatio : Implement security so that all users can view the information about the projects, but only authenticated users
Evaluate the variation of hoop stresses : Evaluate the variation of hoop stresses across the wall of the compound cylinder.
Determine the npv at time period zero of the cash flows : Recall that this step determines the amount that could be deposited today, to satisfy the education funding need
Estimate annual fcff : Prepare an Excel spreadsheet containing Estimate annual FCFF
Internal and external growth strategy : What are the tradeoffs between an internal and an external growth strategy? Which method is best as an international strategy.

Reviews

Write a Review

JAVA Programming Questions & Answers

  Determine if strings are equal

Complete the recursive method match in the code below which will determine whether or not two strings match.

  Robot preparing for competition

Create an event so that the skateboard can be controlled by game player

  Implementation of memory management

Implementation of memory management

  Create a driver class in java

Your project is to create a driver class that uses SuperJavaIceCreamClass.

  Compilation and Execution - JAVA problem

Style marks are based on how your submitted code looks. Remember that good code is easily readable (and understandable) by someone who did not write it. For assignments, you should also include your name, student number, what course this is, what ass..

  Mvc pattern and servlet

When you use the MVC pattern, the controller directs the flow of control to

  Implementation of encryption and steganography in java

This is a project report showing the essential details and coding structures related with the implementation of encryption techniques and steganography in JAVA.

  Print the contents of the array

Prepare a second loop that prints the contents of the array

  World data app

Prepare WorldDataApp project. It implements the NameIndex portion, including creating it in SetupProgram, and searching, viewing and updating it in UserApp program.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  File integrity checker - tripwire

Write a program that will perform some of the basic tasks accomplished by a file integrity checker such as Tripwire.

  Design a course registration system

Create an application which represents a simplified course registration system using ArrayLists and HashMaps.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd