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

  Write a java program that finds the temperature

Write a JAVA program that finds the temperature that is the same in both Celsius and Fahrenheit

  Pass in the number of gallons on board

public float usefulLoad() // this is the grossWeight - emptyWeight public float usefulLoadWithFuel( in gallons ) // this is the useful load - gallons x 6. The programmer user will pass in the number of gallons on board.

  Once getting into student information menu

Once getting into student information menu, you should be able to see a full list of students' information (first name, last name, SSN, DOB, year and major).

  Java program to store temperatures in two-dimensional array

Write the Java program which uses two-dimensional array to store highest and lowest temperatures for each month of the year. Program must output average high,average low,

  Using joptionpanes to handle your input and output

Using JOptionPanes to handle your input and output, produce a Java program which, given three sides of a triangle, determines whether the triangle is.

  Prepare worlddataapp project it implements the nameindex

prepare worlddataapp project. it implements the nameindex portion includingbull creating it implemented as a binary

  Ask the user to input a grade (integer from 1-100)

Program should still ask the user to input a grade (integer from 1-100) and then output the letter grade.  Scale:  Greater than 90 is an "A"; Greater than 80 to 90 is a "B", Greater than 70 to 80 is a "C", Greater than 60 to 70 is a "D", and 60 or le..

  Write a java program that will read a sequence of names

Write a java program that will read a sequence of names (first name followed by last name, separated by at least one space) from a text file and will 1) remove all duplicate names and 2) write the names (last name followed by a comma, followed by one..

  Write a method called rectsum

Write a method called rectSum that will get the sum of a rectangle of elements within a 2D array of ints

  Write a java program that declares an array alpha of 50

Write a Java program that declares an array alpha of 50 elements of type double. Initialize the array so that the first 25 elements are equal to the square of the index variable, and the last 25 elements are equal to three times the index variable. O..

  Write a recursive boolean method named ismember in java

Write a recursive boolean method named isMember in Java. The method should accept three arguments: an array, a value to search for, and the size of the part of the array being searched.

  Ceate an application which represents a simplified course

create an application which represents a simplified course registration system using arraylists and hashmaps.define a

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