Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam 2V0-72.22 All Questions

View all questions & answers for the 2V0-72.22 exam

Exam 2V0-72.22 topic 1 question 67 discussion

Actual exam question from VMware's 2V0-72.22
Question #: 67
Topic #: 1
[All 2V0-72.22 Questions]

What's the password storage format when using the DelegatingPasswordEncoder?

  • A. encodedPassword{id}, where {id} is an identifier used to look up which PasswordEncoder should be used.
  • B. {id}encodedPassword, where {id} is an identifier used to look up which PasswordEncoder should be used.
  • C. {timestamp}encodedPassword, where {timestamp} is the time when the password was encoded.
  • D. {id}{salt}encodedPassword, where {id} is an identifier used to look up which PasswordEncoder should be used and {salt} a randomly generated salt.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Uteman
1 month, 3 weeks ago
B is correct {id}encodedPassword Such that "id" is an identifier used to look up which PasswordEncoder should be used and "encodedPassword" is the original encoded password for the selected PasswordEncoder.
upvoted 1 times
Uteman
1 month, 3 weeks ago
The "id" must be at the beginning of the password, start with "{" (id prefix) and end with "}" (id suffix). Both id prefix and id suffix can be customized via DelegatingPasswordEncoder(String, Map, String, String). If the "id" cannot be found, the
upvoted 1 times
...
...
2211094
4 months, 3 weeks ago
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
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...