In a modern Spring Boot application, what is the primary purpose of defining a `SecurityFilterChain` bean?
-
A
To define a sequence of security filters that are applied to HTTP requests to handle concerns like authentication, authorization, and CSRF protection.
-
B
To manage user details and credentials by connecting to a database or an in-memory store.
-
C
To specify how passwords should be hashed and verified during the authentication process.
-
D
To enable method-level security annotations like `@PreAuthorize` and `@Secured` across the application.