topjavatutorial.com
Spring Boot : Adding basic security to microservices - Top Java Tutorial
In this article, we will add basic authentication to a previous Spring application we created in this post : Spring Boot Hello World Adding maven dependency Add the following dependency to the pom.xml : This will add the following jars to the maven : spring-security-config-X.X.X.RELEASE.jar spring-security-core-X.X.X.RELEASE.jar spring-security-web-X.X.X.RELEASE.jar Running the @SpringBootApplication Running your SpringBootApplication class …
TopJavaTutorial