1.

What is PasswordEncoder?

Answer»

Password ENCODING is provided by SPRING Security using the PASSWORDENCODER interface. This interface defines two methods:  

  • encode(): It converts a plain password into an encoded form.
  • matches(): It COMPARES an encoded password from the database with a plain password (input by the USER) that's been encoded using the same salting and hashing algorithm as the encoded password. 


Discussion

No Comment Found