What's the password storage format when using the DelegatingPasswordEncoder?
Suggested Answer: A, D
Get Premium 2V0-72.22 Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
32 comments · newest first
NI
Nickole
12 months ago
I thought it was B at first, but now I'm leaning towards A.
TA
Tamekia
12 months ago
A makes the most sense, but I’m curious about D too.
DO
Dominga
1 year ago
Wait, is it really A? I thought it was something else.
DO
Donte
1 year ago
I agree, A is the correct format!
HU
Huey
1 year ago
It's definitely A, that’s how DelegatingPasswordEncoder works.
ME
Melvin
1 year ago
I don’t think it’s D because I don’t recall salt being part of the DelegatingPasswordEncoder format. It’s probably A.
TR
Troy
1 year ago
I’m a bit confused; I thought the format included a timestamp, but that might be for a different encoding method.
JO
Johnson
1 year ago
I remember practicing a question about password encoders, and I feel like it was definitely the first option, A.
MY
My
1 year ago
I think the format is something like encodedPassword{id}, but I’m not completely sure if it’s A or B.
JA
Jacqueline
1 year ago
I'm a bit confused by this question. The DelegatingPasswordEncoder is supposed to make it easier to support multiple password encoders, but I'm not sure about the exact storage format. I'll have to review my notes and try to remember the details.
LO
Lorenza
1 year ago
Okay, let me see if I can work this out. The DelegatingPasswordEncoder is used to delegate the password encoding to different PasswordEncoders based on an identifier. So the format must be something like {id}encodedPassword, where {id} is the identifier. I think option B is the correct answer.
DO
Dortha
1 year ago
Hmm, I'm a bit unsure about this one. I know the DelegatingPasswordEncoder is used to support multiple password encoders, but I can't quite remember the exact format. I'll have to think this through carefully.
HE
Herminia
1 year ago
I'm pretty sure the answer is A. The password storage format when using the DelegatingPasswordEncoder is encodedPassword{id}, where {id} is an identifier used to look up which PasswordEncoder should be used.
MI
Ming
2 years ago
If the password is 'password123', does that mean the storage format is '{id},password123'? Yikes, not very secure!
PA
Paola
2 years ago
Option C with the timestamp? That's odd, why would you need the timestamp in the password storage format?
AL
Alysa
1 year ago
D) {id}{salt}encodedPassword, where {id} is an identifier used to look up which PasswordEncoder should be used and {salt} a randomly generated salt.
RO
Rosio
1 year ago
C) {timestamp}encodedPassword, where {timestamp} is the time when the password was encoded.
EL
Elenora
1 year ago
B) {id}encodedPassword, where {id} is an identifier used to look up which PasswordEncoder should be used.
MA
Mabel
1 year ago
A) encodedPassword{id}, where {id} is an identifier used to look up which PasswordEncoder should be used.
LO
Lorriane
2 years ago
Hmm, Option D includes a salt, that's a good security practice. I'll choose that one.
JA
James
2 years ago
I'm going with Option B. The id should come first so it's easy to look up the right PasswordEncoder.
LI
Lilli
1 year ago
User 3: Option B it is then, thanks for clarifying!
DA
Dallas
1 year ago
User 2: Yeah, I agree. Having the id first makes it easier to look up the right PasswordEncoder.
RE
Reiko
1 year ago
User 1: I think the password storage format is Option B.
DO
Domitila
2 years ago
I'm not sure, but I think it might be A) encodedPassword{id}, where {id} is an identifier used to look up which PasswordEncoder should be used.
ET
Ettie
2 years ago
Option A seems logical, the identifier is used to look up the PasswordEncoder. Makes sense to me.
CH
Christiane
1 year ago
D) {id}{salt}encodedPassword, where {id} is an identifier used to look up which PasswordEncoder should be used and {salt} a randomly generated salt.
RO
Royal
1 year ago
C) {timestamp}encodedPassword, where {timestamp} is the time when the password was encoded.
CH
Chandra
2 years ago
B) {id}encodedPassword, where {id} is an identifier used to look up which PasswordEncoder should be used.
LU
Luisa
2 years ago
A) encodedPassword{id}, where {id} is an identifier used to look up which PasswordEncoder should be used.
WI
Winifred
2 years ago
I agree with Yuette, D) {id}{salt}encodedPassword makes sense because it includes both an identifier and a randomly generated salt.
YU
Yuette
2 years ago
I think the password storage format is D) {id}{salt}encodedPassword.