Click here to Skip to main content
15,886,519 members
Articles / Web Development / Spring

Spring Boot 2 Rest Security – Basic Authentication

Rate me:
Please Sign up or sign in to vote.
5.00/5 (2 votes)
25 Mar 2019CPOL7 min read 8K   3  
In this tutorial, we secure a simple Rest API. We begin with a simple example, progress to using a custom UserDetailsService, and finish by adding method level security.

Views

Daily Counts

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Brannan Technical Solutions LLC
United States United States
I have worked in IT for over twenty years and truly enjoy development. Architecture and writing is fun as is instructing others. My primary interests are Amazon Web Services, JEE/Spring Stack, SOA, and writing. I have a Masters of Science in Computer Science from Hood College in Frederick, Maryland.

Comments and Discussions