Browse Category: Spring

Spring Boot monitoring (Actuator endpoints)

One of the important thing is the monitoring of the production environment. And the Actuator endpoints will give us some capability to monitor the spring boot application. So for this we need to include the Actuator dependency in the pom.xml:

Continue Reading

Spring Password Encryption

Let’s have a look how we can encrypt the user’s password before inserting into the database. Spring provides the PasswordEncoder interface which has multiple implementation. For example let’s use StandardPasswordEncoder. 
A standard PasswordEncoder implementation that uses SHA-256 hashing with 1024 iterations and a random 8-byte random salt value. It uses an additional system-wide secret value to provide additional protection.
Continue Reading