For custom authentication logic in Spring Security, developers can create a bean of type _____.
- AuthenticationProvider
- AuthorizationManager
- SecurityContext
- UserDetailsService
To implement custom authentication logic in Spring Security, developers can create a bean of type AuthenticationProvider. This allows developers to define their own logic for authenticating users, such as checking credentials against a database or external system. The AuthenticationProvider interface is a key component for custom authentication.
Loading...
Related Quiz
- How does Spring Boot support reactive programming in conjunction with traditional MVC patterns?
- What is the primary use of WebFlux in a Spring Boot application?
- In Mockito, the _____ method can be used to stub a return value for a method call.
- In Spring Boot, which module enables the development of reactive applications?
- Which annotation is primarily used in Spring Boot to mark the main class of your application?