December 19, 2023
Which of these statements about @EnableMethodSecurity attributes are true?
* jsr250Enabled Determines if JSR-250 annotations should be enabled.
* prePostEnabled Determines if Spring Security's PreAuthorize, PostAuthorize, PreFilter, PostFilter and RolesAllowed annotations should be enabled.
* securedEnabled Determines if Spring Security's Secured annotation should be enabled.
#spring #certificationquestion #vcp
https://www.udemy.com/course/spring-professional-certification-6-full-tests-2v0-7222-a/?referralCode=04B6ED315B27753236AC
jsr250Enabled and securedEnabled statements are correct.
prePostEnabled is incorrect because it mentionned RolesAllowed which is not concerned by prePostEnabled attribute.