From the course: Spring Boot 2.0 Essential Training

Unlock the full course today

Join today to access over 22,500 courses taught by industry experts or purchase this course individually.

Using Spring Security

Using Spring Security

From the course: Spring Boot 2.0 Essential Training

Start my 1-month free trial

Using Spring Security

- [Instructor] Okay, back to the code we go through a basic implementation, of spring security. I do want to warn you there's a lot of little typing that's going on here. So this one you're really going to need to pay attention to what you're typing and use that pause button to catch up with me as you're doing it. So let's go back to our room web app and let's open up the POM file. And once again, we're going to add another dependency. And this time the dependency is Spring Boot Starter Security from org.Spring framework boots. let's get rid of that version and let Maven bring it in. Alright, now that that's done, I want to open up our base package and source main Java and we're going to create another new package this time called Config and this is really good practice to separate your construct as much as you can within your application. So let's create a new Config called SecurityConfig and we will annotate this…

Contents