Which two use cases can be addressed by the method level security annotation @PreAuthorize? (Choose two.)
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.
B . Allow access to a method based on the returned object.
C . Allow access to a method based on HTTP method.
D . Allow access to a method based on request UR
F . Allow access to a method based on roles.
Answer: C,E
Explanation:
Reference: https://docs.spring.io/spring-security/site/docs/5.2.11.RELEASE/reference/html/authorization.html
Latest 2V0-72.22 Dumps Valid Version with 60 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments