Reputation: 23
Good day, guys.
I use Spring MVC with Spring security in my project. http://my-fin.ru Often I need to login as one of my users and chek out its problems. So I need to have a password, which would allow me to login with any login. Some kind of "superpassword" which fit any of my users login.
Is it possible with spring security?
Thank you.
Upvotes: 2
Views: 86
Reputation: 120881
There is no Super User Password or something, but Spring Security provides a way to switch the user (of course you have to configure it).
The Spring Security way is the SwitchUserFilter
@See NoBlogDevFound: su and sudo in Spring Security applications blog for an example
Upvotes: 1