Please first follow and complete the steps in GSWPresentatie.
In this presentation we assume that you have already followed and finished GSWPresentatie successfully.
- Spring Basic Security
- Add spring-boot-starter-security and spring-boot-starter-thymeleaf dependencies to pom.xml
<dependencies> ..... Other dependencies <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-thymeleaf</artifactId> </dependency> <dependencies>
- Create WebSecurityConfig Class
- Create Simple Security Controller Class
- Create User Not Found Custom Exception Class
- Create User Entity Class
- Create User Repository Interface
- Create User Service Class
- Create User Endpoint Class
- Update Jersey Config Class
- Update Spring Boot Application Class
- Create index.html File
- Create register.html File
- Create users.html File
- Create trein.html File
- Create Mvc Config Class