Browsed by
Month: May 2020

Enable/Disable profile specific spring security debug flag

Enable/Disable profile specific spring security debug flag

Spring security comes with a handly feature to enable debug flag to see a nice debug log as shown below to see what is happening with your application. You can control this feature from your bean configuration code Still, you may want to control it from application.properties files for some profiles. Like I want to keep it on for dev only.