Skip to content

1. Adding Spring Security to Blog Web App

Ramesh Fadatare edited this page Aug 1, 2022 · 4 revisions

1. Add Spring boot stater security dependency to our app

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

The default username is: user and the default password will be printed in the console at the time when your Spring Boot project is starting.