What's the password storage format when using the DelegatingPasswordEncoder?
What's the password storage format when using the DelegatingPasswordEncoder?
When using the DelegatingPasswordEncoder, the password storage format is {id}encodedPassword, where {id} is an identifier used to look up which PasswordEncoder should be used. This format allows the DelegatingPasswordEncoder to determine which specific PasswordEncoder to use based on the prefix identifier.
The correct answer is B and here is the reason as why this is it. https://docs.spring.io/spring-security/site/docs/current/api/org/springframework/security/crypto/password/DelegatingPasswordEncoder.html