Which of the following is a primary benefit of using JWT tokens in Spring Boot security?
- Centralized user management.
- Complex and lengthy token format.
- Enhanced encryption capabilities.
- Statelessness and scalability.
A primary benefit of using JWT (JSON Web Tokens) in Spring Boot security is statelessness and scalability. JWTs are self-contained and do not require server-side storage or session management, making them suitable for distributed and stateless architectures. They do not provide centralized user management, have a compact token format, and while they offer strong encryption capabilities, statelessness is a more notable advantage.
Loading...
Related Quiz
- How can you customize the error messages in Bean Validation in Spring Boot?
- For integration testing in Spring Boot, the _____ annotation is used to specify that only certain parts or layers of the application should be loaded.
- How can back pressure be handled in a reactive stream in Spring Boot?
- You are tasked with securing a large-scale Spring Boot application with various microservices. How would you design the security architecture to ensure that the services are securely accessible and user authentication and authorization are handled efficiently?
- In Spring Boot, the _____ annotation is used to define a method that should be invoked to handle an exception thrown during the execution of controller methods.