The _____ interface in Spring Security is used to load user-specific data and plays a crucial role in authentication mechanisms.
- AccessDecisionManager
- AuthenticationProvider
- UserDetailsContextMapper
- UserDetailsService
The UserDetailsService interface in Spring Security is used to load user-specific data and plays a crucial role in authentication mechanisms. It's responsible for fetching user details from a data source, such as a database, and returning them as a UserDetails object. This interface is a key component in the authentication process, allowing Spring Security to validate user credentials and create an Authentication object.
Loading...
Related Quiz
- How do you bind the HTTP request body to the parameters of a method in a Spring Boot application?
- To define hierarchical properties in a YAML configuration file in Spring Boot, you can use _____.
- When implementing caching in Spring Boot, how can you handle cache concurrency?
- To apply data migration scripts in Spring Boot, you can use tools like _____ or _____.
- What is the primary file used to define properties in Spring Boot?