Debugging Spring Security
Parker Drake
Posted on January 21, 2021
Spring Security is hard to debug and hard to test. Make your life easier with significantly better log output by using debug = true
in the EnableWebSecurity
annotation:
@EnableWebSecurity(debug = true)
public class CustomConfig extends WebSecurityConfigurerAdapter {
// your config here
}
Don't use this in production!
💖 💪 🙅 🚩
Parker Drake
Posted on January 21, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.