Question: In Java, using proxy design pattern, design an authentication system, there is an employee class with its attributes and getter functions, a user class with

In Java, using proxy design pattern, design an authentication system, there is an employee class with its attributes and getter functions, a user class with its attributes and getter functions, and an access class which will include a map, the key is the user and the value is the employee (you can use an ArrayList if more than user withIn Java, using proxy design pattern, design an authentication system, there is one employee...in the void main when the user wants to get the info or the salary of a certain employee it checks if they both were existing in the map, if true then access is done, if not then access is denied, more information is in the picture inserted bellow

lcces Sev V lcces Sev V

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!