In Spring Boot, the _____ annotation is used to enable OAuth2 Authorization Server capabilities.
- @EnableAuthorizationServer
- @EnableOAuth2Authorization
- @EnableOAuth2Server
- @EnableSecurity
In Spring Boot, the @EnableAuthorizationServer annotation is used to enable OAuth2 Authorization Server capabilities. It allows the application to act as an OAuth2 authorization server, handling client registration, token issuance, and other authorization-related tasks.
Loading...
Related Quiz
- How would you implement a custom error response structure when an exception occurs in a Spring Boot application?
- How can you configure a custom method security expression handler in Spring Security?
- What strategies can be employed in Spring Boot to handle database connection failures and retries?
- You have a requirement to validate an object graph with nested objects and associations using JSR-303 Bean Validation. How would you achieve this, ensuring that the entire object graph is validated?
- You are tasked with creating a custom Auto Configuration that provides a set of beans only if a specific library is on the classpath. How would you approach this requirement?