Spring Security – Username case-insensitive?

 1. Overview In this article, we will discuss the username’s case-sensitivity in in-memory authentication. And, find out the reason why the login will be successful even though our username’s case not matched. 2. Configure

All the usernames are in lowercase here. But, we can able to login with “John” or “JOHN” or “john”. 3. Either case […]

Continue reading

Spring Security 5 – There is no PasswordEncoder mapped for the id “null”

What is the issue? type Exception report message There is no PasswordEncoder mapped for the id “null” description The server encountered an internal error that prevented it from fulfilling this request. exception

Background  If we are putting together a demo or a sample, it is a bit cumbersome to take time to hash the passwords of your […]

Continue reading

Spring Boot – Select All Starters and Download

Would you like to select all starters dependencies from Spring Initializer http://start.spring.io/ and work offline? Follow these steps: Go to Spring Initializer http://start.spring.io Click on “Switch to the full version”. Manually select all the dependencies (or) Run the below script (to select all) on Developer Tools -> Console (Chrome browser) Click on Generate Project Open the Project […]

Continue reading
1 2 3