What is the purpose of password encoding in Spring Security?
- To enhance user experience
- To obfuscate the password
- To prevent password exposure
- To validate user credentials
The purpose of password encoding in Spring Security is to prevent password exposure. Storing passwords in plaintext is a security risk, so Spring Security encourages password encoding (hashing) to store passwords securely. This way, even if the password database is compromised, attackers cannot easily retrieve the original passwords. Password encoding is not meant to obfuscate passwords but to securely store them and prevent unauthorized access to plaintext passwords.
Loading...
Related Quiz
- To configure a JWT token store in a Spring Boot application, you need to define a _____ bean in the configuration class.
- Which Spring Boot property is used to define the URL of the database?
- The _____ plugin in a Spring Boot project's build file allows creating an executable JAR or WAR file.
- Which of the following annotations can be used to customize the response body in a Spring Boot application?
- In a microservices architecture using Spring Cloud, how is service registration managed?