Skip to content

FelixvL/SecuritySevketStyle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Basic Spring Security Presentation

Please first follow and complete the steps in GSWPresentatie.

In this presentation we assume that you have already followed and finished GSWPresentatie successfully.

We will going to use :

  • Spring Basic Security

How to secure our Spring Application

  1. 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>
    
  2. Create WebSecurityConfig Class
  3. Create Simple Security Controller Class
  4. Create User Not Found Custom Exception Class
  5. Create User Entity Class
  6. Create User Repository Interface
  7. Create User Service Class
  8. Create User Endpoint Class
  9. Update Jersey Config Class
  10. Update Spring Boot Application Class
  11. Create index.html File
  12. Create register.html File
  13. Create users.html File
  14. Create trein.html File
  15. Create Mvc Config Class

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published