Custom Password Constraint Validator Annotation Example

You may also like...

Subscribe
Notify of
guest
5 Comments
Oldest
Newest
Inline Feedbacks
View all comments
Monika
Monika
June 20, 2018 20:58

Sorry for the maybe stupid question but i’m a beginner. Which part of validation validates that password and confirmed password match?

Isaak
Isaak
November 1, 2018 21:03

While this is informative, this is not a valid way to handle passwords, because your code assumes the password is stored in plain text in the permanent storage (database) and that’s unacceptable. So your example is not complete, it’s actually a very bad recommendation

Julez
Julez
December 5, 2018 03:33
Reply to  Isaak

Isaak, I’m waiting for your response to author’s reply. :-)

rob
rob
May 22, 2020 17:25

Thanks for sharing ! Big help ;)

5
0
Would love your thoughts, please comment.x
()
x