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 with
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
Get step-by-step solutions from verified subject matter experts
