user3297044
user3297044

Reputation: 23

Spring security supperpassword

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

Answers (1)

Ralph
Ralph

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

Related Questions