log in as a proxy for a certain user

Posted by Samuel on Stack Overflow See other posts from Stack Overflow or by Samuel
Published on 2010-04-18T16:39:01Z Indexed on 2010/04/18 16:43 UTC
Read the original article Hit count: 424

Filed under:
|
|

We have a requirement, wherein the administrative user needs to proxy in as a certain user in an environment where several users (Role: User) are managed by an administrator (Role: Admin).

e.g If we have the following users in the database (admin, user1, user2, user3), we would want the admin to proxy as 'user2' and use the system in certain scenarios. Authentication in our web application is based username / password credentials, what mechanisms are available for the admin to proxy as 'user2' when he doesn't have the password for 'user2'. How can the application track such access for audit purposes to mention that 'admin' had proxied for 'user2' and performed certain actions.

I am looking for suggestions on supporting this in our j2ee (jboss seam) web application.

© Stack Overflow or respective owner

Related posts about design

Related posts about security