ExamGecko
Question list
Search
Search

Question 35 - 2V0-72.22 discussion

Report
Export

Which two use cases can be addressed by the method level security annotation @PreAuthorize?

(Choose two.)

A.
Allow access to a method based on user identity.
Answers
A.
Allow access to a method based on user identity.
B.
Allow access to a method based on the returned object.
Answers
B.
Allow access to a method based on the returned object.
C.
Allow access to a method based on HTTP method.
Answers
C.
Allow access to a method based on HTTP method.
D.
Allow access to a method based on request URL.
Answers
D.
Allow access to a method based on request URL.
E.
Allow access to a method based on roles.
Answers
E.
Allow access to a method based on roles.
Suggested answer: C, E

Explanation:

Reference: https://docs.spring.io/springsecurity/site/docs/5.2.11.RELEASE/reference/html/authorization.html

asked 16/09/2024
Donald VIRMOND
32 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first