Falidation Flashcards

1
Q

When should you falidate data?

A

When taking user input (through a form)
Prior to storing in a db
When enforcing security
Business logic

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How to falidate?

A

Use spring boot starter falidation library
Annotate your classes’ attributes with @\/alid annotations

How well did you know this?
1
Not at all
2
3
4
5
Perfectly