spring security (3.0.x) and user impersonation
问题 In my web application, there are times when an authenticated admin might want to impersonate another valid user of a system without having to know that user's password. How can I use Spring Security to give admin users the ability to impersonate normal (non-admin) users of the system? The Spring Security documentation is silent on this and I can't find anything anywhere. Surely someone must have solved this. Thanks! 回答1: It's in the Spring Security 3 and Spring Security 4 docs aptly named,