posted 7 years ago
Hi Guys,
I have a use case as below.
1) User1 logs in to application.
2) Opens up a page and tries to submit the form with some data on the screen.
3) The client side validations on the page determines that user can not do that action and requires approval from supervisor. A popup opens up with the supervisor name.
4) Supervisor comes to user1, enters password and submit
5) System checks supervisor's authentication, authorization and then allows User1 to submit the form. System should not use supervisor's credentials for any other tasks on the screen. (i.e., supervisor's authentication should be immediately destroyed in user1's session after this task is complete).
At Step 5 above, which API can be used to authenticate another user's credentials while user1's session is 'active'.
Kind regards,