1 securityimplement security so that all users can view the

Assignment Help JAVA Programming
Reference no: EM13347583

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: EM13347583

Questions Cloud

Problem 1consider that the meaning of the bun instruction : problem 1.consider that the meaning of the bun instruction of the basic computer is changed to implement the relative
1 you are a commuter student at a local university : 1. you are a commuter student at a local university. because of the steep rise in gasoline prices your parents decide
Assignment 1write a program using vectors and iterators : assignment 1write a program using vectors and iterators that allows a user to maintain a personal list of dvd titles.
1why does rent control result in a shortage of rental : 1.why does rent control result in a shortage of rental units.2.how does price elasticity of demand affect how much of a
1 securityimplement security so that all users can view the : 1. security.implement security so that all users can view the information about the projects but only authenticated
Problem a compound cylinder is composed of a tube of 250mm : problem a compound cylinder is composed of a tube of 250mm internal diameter at 25mm wall thickness. it is shrunk on to
Joe has two children sydney age 5 and william age 2 that he : joe has two children sydney age 5 and william age 2 that he wants to provide for their education funding. currently
Tasks1prepare an excel spreadsheet containing the : tasks1.prepare an excel spreadsheet containing the followingconstruct the next five-year pro-forma statements income
1 what are the tradeoffs between an internal and an : 1. what are the tradeoffs between an internal and an external growth strategy? which method is best as an international

Reviews

Write a Review

JAVA Programming Questions & Answers

  Given a sequence of 10 integers

Write a program given that given a sequence of 10 integers, find out and delete the maximum and minimum number, then compute the average of the rest.

  Web engineering principles

web application development, Web Engineering methodology, UML-based Web Engineering (UWE), models to the expansion of web applications, Object Oriented Web Solutions (OOWS),Web Modeling Language (WebML) methodology, Object-Oriented Hypermedia Design..

  Create a class named blooddata

Create a class named BloodData that includes fields that hold a blood type (the four blood types are O, A, B, and AB) and an Rh factor

  Write a java program to register students for a college

Project is for designing and developing a College Registration program. Write a Java program to register students for a college

  Development of a graphical user interface

To understand actual communication with an SMTP server can be achieved using TCP Sockets and understand the development of a graphical user interface (GUI) and use of event handling.

  Application for an animal-fur trimming service

Create an application for an animal-fur trimming service. Write the code for the application. Prompt the user to indicate how many animals. Display the total fee for one year. Be pleasant in your output as it will be expensive.

  Write an object-oriented java program to manipulate data

I want a simple java solution matching all the specifications in the document. The java program has to be made using Eclipseversion 4.2.1.

  Find the solution of all these java question

find the solution of all these java question

  Determine java application on web and structure functions

Determine the Java application on Web and explain how program structure functions. Explain the application in as much detail as possible.

  Die class that can hold an integer

Design a die class that can hold an integer from 1 to 6. use the dice class to create a dice game. in this game, the user chooses a number between 2 and 12 inclusive

  Write prolog clauses to express therelationships

Write prolog clauses to express the following relationships, given the parent relationship: grand-parent, sibling, cousin.

  Consider a company that wants to keep track of its employees

Consider a company that wants to keep track of its employees, their positions and their telephone numbers. Your development team has developed a simple prototype using the Java code found in EmployeeDirectory.zip.

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