Spring Boot Basic Authentication with Users and Roles
Channel:
Subscribers:
11,000
Published on ● Video Link: https://www.youtube.com/watch?v=lHe1_TYGJzQ
Basic authentication can easily be set up to shield your Spring Boot application against everybody accessing your endpoints.
This example shows how to use roles to give access to some specific endpoints.
Enjoy! :-)
Feel free to comment and ask questions.
The code is located here:
https://github.com/ekim197711/springboot-basic-authentication
Follow me on twitter:
https://twitter.com/MikeMoelNielsen
Other Videos By Mike Møller Nielsen
Tags:
security
spring security
spring boot
basic authentication
roles
users
password
request header
header
Basic
securing rest endpoints