For securing REST APIs in Spring Security, the use of _______ is recommended to represent the user's authorization information.
- Basic Authentication
- JSON Web Tokens (JWT)
- OAuth2 Tokens
- Session Cookies
To secure REST APIs in Spring Security, it's recommended to use JSON Web Tokens (JWT) to represent the user's authorization information. JWTs are a popular choice for token-based authentication and authorization in stateless API environments.
Loading...
Related Quiz
- Imagine you are working on a Spring Data JPA project where you need to implement complex dynamic queries. How would you approach designing and implementing such queries to ensure maintainability and performance?
- How does WebFlux differ from the traditional Spring MVC framework in handling HTTP requests?
- How can you access a defined property in the application properties file within a Spring Boot application class?
- How does Spring Boot support reactive programming in conjunction with traditional MVC patterns?
- How can you specify that a bean should be injected with a specific qualifier when there are multiple candidates?