Points To Remember Add dependency of spring security Add custom username password in application.properties A unique password is generated each time application is started if no authentication process is specified. You can configure your own authentication providers, managers, filters, entry points, tokens etc as required. Getting started with Spring Security and Spring Boot In order to apply Spring Security to a Spring Boot application, firstly you need to add the dependency in the application as follows In Maven you can do it as follows. <dependencies> <dependency> <groupId>org.springframework.security</groupId> <artifactId>spring-security-web</artifactId> <version>4.0.3.RELEASE</version> </dependency> </dependencies> In Gradle you can do it as follows. dependencies { compile 'org.springframework.security:spring-security-web:4.0.3.RELEASE' } Your initial project may look like as s...