What is the primary role of a Resource Server in OAuth2?
- Authenticating users and granting permissions.
- Generating access tokens for clients.
- Protecting and serving protected resources.
- Storing user credentials and data.
The primary role of a Resource Server in OAuth2 is to protect and serve protected resources. It validates access tokens presented by clients and enforces access control to ensure that only authorized clients can access protected resources. It does not generate access tokens (which is the responsibility of the Authorization Server), authenticate users, or store user credentials or data.
Loading...
Related Quiz
- Which annotation is used to denote a test method in JUnit?
- Which of the following annotations is used to map a web request to a specific handler method?
- How does the @Controller annotation interact with the view in a traditional Spring MVC application?
- What does the @ExceptionHandler annotation do in a Spring Boot application?
- _____ is the Spring Cloud component that simplifies the deployment of microservices by providing solutions to common patterns in distributed systems.