ExamGecko
Question list
Search
Search

Question 14 - 2V0-72.22 discussion

Report
Export

Which strategy is correct for configuring Spring Security to intercept particular URLs? (Choose the best answer.)

A.
The URLs can be specified via configuration (using authorizeRequests () and request matchers), with the most specific rule first and the least specific last.
Answers
A.
The URLs can be specified via configuration (using authorizeRequests () and request matchers), with the most specific rule first and the least specific last.
B.
Spring Security can obtain URLs from Spring MVC controllers, the Spring Security configuration just needs a reference to the controller to be protected.
Answers
B.
Spring Security can obtain URLs from Spring MVC controllers, the Spring Security configuration just needs a reference to the controller to be protected.
C.
The URLs are specified in a special properties file, used by Spring Security.
Answers
C.
The URLs are specified in a special properties file, used by Spring Security.
D.
The URLs can be specified via configuration (using authorizeRequests () and request matchers), with the least specific rule first and the most specific last.
Answers
D.
The URLs can be specified via configuration (using authorizeRequests () and request matchers), with the least specific rule first and the most specific last.
Suggested answer: A

Explanation:

Reference: https://www.baeldung.com/security-none-filters-none-access-permitAll

asked 16/09/2024
Ryan Campbell
24 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first