Spring Academy by VMware
Adding Authentication
Next Lesson

Get free Spring training, led by the experts

Give your skills and career a bump with Spring—the world’s most popular Java framework. Your free account gives you access to our growing library of hands-on training, straight from the Spring experts.

Log In / Register

In this lesson, you learned the basics of authentication and two authentication schemes. Spring Security uses content negotiation to figure out which authentication scheme to use – for REST APIs, that's HTTP Basic – and then processes your credentials into a principal. Because HTTP Basic is stateless, this process repeats on each request.

Felipe Gutierrez

Staff Engineer

Over 30 years of IT experience, during which he has developed programs for companies in multiple vertical industries, such as government, retail, healthcare, education, and banking. Book Author from Apress. Currently writing the Pro Spring Boot 3rd Edition.

View Profile

Josh Cummings

Staff Engineer and Spring Security committer

Spring Security committer, Pluralsight author, and juggler.

View Profile

Give Feedback

Help us improve by sharing your thoughts.

Share