Adding Spring Security starter

Add the following dependency to your file pom.xml:

    <dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>

The Spring-boot-starter-security dependency ;brings in three important Spring Security dependencies:

  • spring-security-config
  • spring-security-core
  • spring-security-web
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset