Ask a question from expert

Ask now

Employee Database Processing System with Java Security Manager and JAAS

3 Pages1030 Words135 Views
   

Added on  2019-09-16

About This Document

The project involves designing and implementing an employee database processing system with Java Security Manager and JAAS. The system allows employees to check their personal data or data of other employees with constraints. Input through a user interface of your choice. Use JAAS to ensure that no file other than the ones required by your design can be read or written by your application.

Employee Database Processing System with Java Security Manager and JAAS

   Added on 2019-09-16

BookmarkShareRelated Documents
Goal: Design and implement an employee database processing system. The project will give you experience in setting up security policies, invoking the Java Security Manager and using Java’s Authentication and Authorization Service (JAAS) architecture. Description: Radsburg Inc., a company based in the New River Valley, wants us to develop a software application that will allow employees to check their personal data or (with some constraints) data of other employees. For each employee Radsburg maintains the following personal data (in your code, use an appropriate type for eachof these data items): (1)Name (2)Id (a 4 digit decimal Id)(3)Position (CEO, VP, Manager, Associate or Junior Associate)(4)Name of the supervisor a.If employee is a junior associate, supervisor field is the name of an associateb.If employee is an associate, supervisor field is the name ofa managerc.If employee is a manager, supervisor field is the name of a VPd.If employee is a VP, supervisor is the name of the CEOe.If employee is a CEO, supervisor field is blank. (5)Salary The software application authenticates an employee and then allows the employee to query or modify the data based on the employee’s access rights. The following rules define an employee’s access right as well as constraints on the software application:(1)No employee can modify id, name or supervisor’s name on their own personal record. (2)Any employee can query his or her own personal data. (3)A supervisor can query data or change salary and position name of any of the employees who works for her/him. (4)A CEO can query data about any employee in the company or change their salary/position. (5)We will just assume that the CEO’s data cannot be modified. (6)The software application should not have access to write any file besides those required by your design (think Java Security Manager). Requirements(1)Employee information database: The program refers to an employee database which is simply a text file. Each line of the text file contains a comma delimited information about one user. You may assume that there may be multiple users with the same first name, but have different id #s. Here’s the format of each line of input: First Name, Id, Position, Name of supervisor (Id of supervisor), Salary
Employee Database Processing System with Java Security Manager and JAAS_1

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Employee Database Processing System : Project
|3
|1030
|349

Mobile Application Activity Assignment 2022
|7
|820
|30